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

Diff for /src/usr.bin/tmux/grid.c between version 1.72 and 1.73

version 1.72, 2017/05/12 15:18:13 version 1.73, 2017/05/13 07:30:50
Line 286 
Line 286 
 void  void
 grid_scroll_history_region(struct grid *gd, u_int upper, u_int lower, u_int bg)  grid_scroll_history_region(struct grid *gd, u_int upper, u_int lower, u_int bg)
 {  {
         struct grid_line        *gl_history, *gl_upper, *gl_lower;          struct grid_line        *gl_history, *gl_upper;
         u_int                    yy;          u_int                    yy;
   
         /* Create a space for a new line. */          /* Create a space for a new line. */
Line 302 
Line 302 
         upper++;          upper++;
         gl_upper = &gd->linedata[upper];          gl_upper = &gd->linedata[upper];
         lower++;          lower++;
         gl_lower = &gd->linedata[lower];  
   
         /* Move the line into the history. */          /* Move the line into the history. */
         memcpy(gl_history, gl_upper, sizeof *gl_history);          memcpy(gl_history, gl_upper, sizeof *gl_history);

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73