[BACK]Return to cmd-resize-pane.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-resize-pane.c between version 1.33 and 1.34

version 1.33, 2018/06/09 17:05:52 version 1.34, 2018/06/24 21:24:09
Line 131 
Line 131 
         struct winlink          *wl;          struct winlink          *wl;
         struct window           *w;          struct window           *w;
         u_int                    y, ly, x, lx;          u_int                    y, ly, x, lx;
         struct layout_cell      *cells[5], *lc;          static const int         offsets[][2] = {
         u_int                    ncells = 0, i, j, resizes = 0;  
         enum layout_type         type;  
         static const int         offsets[nitems(cells)][2] = {  
             { 0, 0 }, { 0, 1 }, { 1, 0 }, { 0, -1 }, { -1, 0 },              { 0, 0 }, { 0, 1 }, { 1, 0 }, { 0, -1 }, { -1, 0 },
         };          };
           struct layout_cell      *cells[nitems(offsets)], *lc;
           u_int                    ncells = 0, i, j, resizes = 0;
           enum layout_type         type;
   
         wl = cmd_mouse_window(m, NULL);          wl = cmd_mouse_window(m, NULL);
         if (wl == NULL) {          if (wl == NULL) {

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