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

Diff for /src/usr.bin/tmux/layout.c between version 1.42 and 1.43

version 1.42, 2019/04/17 14:44:33 version 1.43, 2019/04/23 09:15:24
Line 414 
Line 414 
                 lcother = TAILQ_NEXT(lc, entry);                  lcother = TAILQ_NEXT(lc, entry);
         else          else
                 lcother = TAILQ_PREV(lc, layout_cells, entry);                  lcother = TAILQ_PREV(lc, layout_cells, entry);
         if (lcparent->type == LAYOUT_LEFTRIGHT)          if (lcother != NULL && lcparent->type == LAYOUT_LEFTRIGHT)
                 layout_resize_adjust(w, lcother, lcparent->type, lc->sx + 1);                  layout_resize_adjust(w, lcother, lcparent->type, lc->sx + 1);
         else          else if (lcother != NULL)
                 layout_resize_adjust(w, lcother, lcparent->type, lc->sy + 1);                  layout_resize_adjust(w, lcother, lcparent->type, lc->sy + 1);
   
         /* Remove this from the parent's list. */          /* Remove this from the parent's list. */

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43