[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.11 and 1.12

version 1.11, 2015/08/12 08:55:20 version 1.12, 2015/08/13 15:02:23
Line 102 
Line 102 
         { "{top-right}", "top-right" },          { "{top-right}", "top-right" },
         { "{bottom-left}", "bottom-left" },          { "{bottom-left}", "bottom-left" },
         { "{bottom-right}", "bottom-right" },          { "{bottom-right}", "bottom-right" },
         { "{up-of}", "{up}" },          { "{up-of}", "{up-of}" },
         { "{down-of}", "{down}" },          { "{down-of}", "{down-of}" },
         { "{left-of}", "{left}" },          { "{left-of}", "{left-of}" },
         { "{right-up}", "{right}" },          { "{right-of}", "{right-of}" },
         { NULL, NULL }          { NULL, NULL }
 };  };
   
Line 699 
Line 699 
                         return (-1);                          return (-1);
                 fs->wp = fs->w->last;                  fs->wp = fs->w->last;
                 return (0);                  return (0);
         } else if (strcmp(pane, "{up}") == 0) {          } else if (strcmp(pane, "{up-of}") == 0) {
                 fs->wp = window_pane_find_up(fs->w->active);                  fs->wp = window_pane_find_up(fs->w->active);
                 if (fs->wp == NULL)                  if (fs->wp == NULL)
                         return (-1);                          return (-1);
                 return (0);                  return (0);
         } else if (strcmp(pane, "{down}") == 0) {          } else if (strcmp(pane, "{down-of}") == 0) {
                 fs->wp = window_pane_find_down(fs->w->active);                  fs->wp = window_pane_find_down(fs->w->active);
                 if (fs->wp == NULL)                  if (fs->wp == NULL)
                         return (-1);                          return (-1);
                 return (0);                  return (0);
         } else if (strcmp(pane, "{left}") == 0) {          } else if (strcmp(pane, "{left-of}") == 0) {
                 fs->wp = window_pane_find_left(fs->w->active);                  fs->wp = window_pane_find_left(fs->w->active);
                 if (fs->wp == NULL)                  if (fs->wp == NULL)
                         return (-1);                          return (-1);
                 return (0);                  return (0);
         } else if (strcmp(pane, "{right}") == 0) {          } else if (strcmp(pane, "{right-of}") == 0) {
                 fs->wp = window_pane_find_right(fs->w->active);                  fs->wp = window_pane_find_right(fs->w->active);
                 if (fs->wp == NULL)                  if (fs->wp == NULL)
                         return (-1);                          return (-1);

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12