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

Diff for /src/usr.bin/tmux/layout-set.c between version 1.1 and 1.2

version 1.1, 2009/07/19 13:21:40 version 1.2, 2009/07/20 07:31:10
Line 122 
Line 122 
                 return;                  return;
   
         /* How many can we fit? */          /* How many can we fit? */
         if (w->sx / n < PANE_MINIMUM + 1) {          if (w->sx / n < PANE_MINIMUM + 1)
                 width = PANE_MINIMUM + 1;                  width = PANE_MINIMUM + 1;
                 n = UINT_MAX;          else
         } else  
                 width = w->sx / n;                  width = w->sx / n;
   
         /* Free the old root and construct a new. */          /* Free the old root and construct a new. */
Line 177 
Line 176 
                 return;                  return;
   
         /* How many can we fit? */          /* How many can we fit? */
         if (w->sy / n < PANE_MINIMUM + 1) {          if (w->sy / n < PANE_MINIMUM + 1)
                 height = PANE_MINIMUM + 1;                  height = PANE_MINIMUM + 1;
                 n = UINT_MAX;          else
         } else  
                 height = w->sy / n;                  height = w->sy / n;
   
         /* Free the old root and construct a new. */          /* Free the old root and construct a new. */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2