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

Diff for /src/usr.bin/tmux/cmd-find-window.c between version 1.22 and 1.23

version 1.22, 2013/03/21 16:09:17 version 1.23, 2013/03/21 16:09:59
Line 139 
Line 139 
         const char                      *template;          const char                      *template;
         u_int                            i, match_flags;          u_int                            i, match_flags;
   
         if (ctx->curclient == NULL) {          if ((c = cmd_current_client(ctx)) == NULL) {
                 ctx->error(ctx, "must be run interactively");                  ctx->error(ctx, "no client available");
                 return (CMD_RETURN_ERROR);                  return (CMD_RETURN_ERROR);
         }          }
         c = ctx->curclient;  
         s = c->session;          s = c->session;
   
         if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL)          if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL)

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23