[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.34 and 1.35

version 1.34, 2018/01/12 10:16:03 version 1.35, 2018/03/23 07:44:44
Line 1023 
Line 1023 
         changed = 0;          changed = 0;
         TAILQ_FOREACH (lc, &parent->cells, entry) {          TAILQ_FOREACH (lc, &parent->cells, entry) {
                 if (TAILQ_NEXT(lc, entry) == NULL)                  if (TAILQ_NEXT(lc, entry) == NULL)
                         each = size - (each * (number - 1));                          each = size - ((each + 1) * (number - 1));
                 change = 0;                  change = 0;
                 if (parent->type == LAYOUT_LEFTRIGHT) {                  if (parent->type == LAYOUT_LEFTRIGHT) {
                         change = each - (int)lc->sx;                          change = each - (int)lc->sx;

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35