[BACK]Return to cmd.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd.c between version 1.77 and 1.78

version 1.77, 2013/03/22 15:49:55 version 1.78, 2013/03/22 15:54:29
Line 134 
Line 134 
 struct window_pane *cmd_find_pane_offset(const char *, struct winlink *);  struct window_pane *cmd_find_pane_offset(const char *, struct winlink *);
   
 struct cmd_ctx *  struct cmd_ctx *
 cmd_get_ctx(void)  cmd_get_ctx(struct client *cmdclient, struct client *curclient)
 {  {
         struct cmd_ctx  *ctx;          struct cmd_ctx  *ctx;
   
         ctx = xcalloc(1, sizeof *ctx);          ctx = xcalloc(1, sizeof *ctx);
         ctx->references = 0;          ctx->references = 0;
   
           ctx->cmdclient = cmdclient;
           ctx->curclient = curclient;
   
         cmd_ref_ctx(ctx);          cmd_ref_ctx(ctx);
         return (ctx);          return (ctx);

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78