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

Diff for /src/usr.bin/tmux/grid-view.c between version 1.16 and 1.17

version 1.16, 2014/04/17 14:45:49 version 1.17, 2014/11/08 12:58:31
Line 184 
Line 184 
         px = grid_view_x(gd, px);          px = grid_view_x(gd, px);
         py = grid_view_y(gd, py);          py = grid_view_y(gd, py);
   
         sx = grid_view_x(gd, gd->sx);          sx = grid_view_x(gd, gd->linedata[py].cellsize);
   
         if (px == sx - 1)          if (px == sx - 1)
                 grid_clear(gd, px, py, 1, 1);                  grid_clear(gd, px, py, 1, 1);
Line 201 
Line 201 
         px = grid_view_x(gd, px);          px = grid_view_x(gd, px);
         py = grid_view_y(gd, py);          py = grid_view_y(gd, py);
   
         sx = grid_view_x(gd, gd->sx);          sx = grid_view_x(gd, gd->linedata[py].cellsize);
   
         grid_move_cells(gd, px, px + nx, py, sx - px - nx);          grid_move_cells(gd, px, px + nx, py, sx - px - nx);
         grid_clear(gd, sx - nx, py, px + nx - (sx - nx), 1);          grid_clear(gd, sx - nx, py, px + nx - (sx - nx), 1);

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17