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

Diff for /src/usr.bin/tmux/window.c between version 1.101 and 1.102

version 1.101, 2014/01/28 23:07:09 version 1.102, 2014/02/22 18:01:10
Line 410 
Line 410 
          * Previously active pane, if any, must not be the same as the source           * Previously active pane, if any, must not be the same as the source
          * pane.           * pane.
          */           */
         if (nextwp->layout_cell->parent != NULL) {          lc = nextwp->layout_cell->parent;
                 lastwp = nextwp->layout_cell->parent->lastwp;          if (lc != NULL && lc->lastwp != NULL) {
                   lastwp = lc->lastwp;
                 if (lastwp != wp && window_pane_visible(lastwp))                  if (lastwp != wp && window_pane_visible(lastwp))
                         return (lastwp);                          return (lastwp);
         }          }

Legend:
Removed from v.1.101  
changed lines
  Added in v.1.102