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

Diff for /src/usr.bin/tmux/Attic/cmd-link-window.c between version 1.1 and 1.2

version 1.1, 2009/06/01 22:58:49 version 1.2, 2009/07/13 17:47:46
Line 52 
Line 52 
   
         if ((wl_src = cmd_find_window(ctx, data->src, NULL)) == NULL)          if ((wl_src = cmd_find_window(ctx, data->src, NULL)) == NULL)
                 return (-1);                  return (-1);
           if ((idx = cmd_find_index(ctx, data->dst, &dst)) == -2)
         if (arg_parse_window(data->dst, &dst, &idx) != 0) {  
                 ctx->error(ctx, "bad window: %s", data->dst);  
                 return (-1);                  return (-1);
         }  
         if (dst == NULL)  
                 dst = ctx->cursession;  
         if (dst == NULL)  
                 dst = cmd_current_session(ctx);  
         if (dst == NULL) {  
                 ctx->error(ctx, "session not found: %s", data->dst);  
                 return (-1);  
         }  
   
         wl_dst = NULL;          wl_dst = NULL;
         if (idx != -1)          if (idx != -1)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2