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

Diff for /src/usr.bin/tmux/cmd-find.c between version 1.4 and 1.5

version 1.4, 2015/04/28 11:33:17 version 1.5, 2015/04/28 11:57:20
Line 243 
Line 243 
         struct window_pane      *wp;          struct window_pane      *wp;
   
         /* If this is running in a pane, that's great. */          /* If this is running in a pane, that's great. */
         RB_FOREACH(wp, window_pane_tree, &all_window_panes) {          if (fs->cmdq->client->tty.path != NULL) {
                 if (strcmp(wp->tty, fs->cmdq->client->tty.path) == 0)                  RB_FOREACH(wp, window_pane_tree, &all_window_panes) {
                         break;                          if (strcmp(wp->tty, fs->cmdq->client->tty.path) == 0)
         }                                  break;
                   }
           } else
                   wp = NULL;
   
         /* Not running in a pane. We know nothing. Find the best session. */          /* Not running in a pane. We know nothing. Find the best session. */
         if (wp == NULL) {          if (wp == NULL) {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5