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

Diff for /src/usr.bin/tmux/screen-write.c between version 1.149 and 1.150

version 1.149, 2019/03/18 20:53:33 version 1.150, 2019/04/03 06:43:04
Line 324 
Line 324 
   
 /*  /*
  * Copy from another screen but without the selection stuff. Also assumes the   * Copy from another screen but without the selection stuff. Also assumes the
  * target region is already big enough and already cleared.   * target region is already big enough.
  */   */
 void  void
 screen_write_fast_copy(struct screen_write_ctx *ctx, struct screen *src,  screen_write_fast_copy(struct screen_write_ctx *ctx, struct screen *src,
Line 349 
Line 349 
                         grid_get_cell(gd, xx, yy, &gc);                          grid_get_cell(gd, xx, yy, &gc);
                         if (xx + gc.data.width > px + nx)                          if (xx + gc.data.width > px + nx)
                                 break;                                  break;
                         if (!grid_cells_equal(&gc, &grid_default_cell))                          grid_view_set_cell(ctx->s->grid, cx, cy, &gc);
                                 grid_view_set_cell(ctx->s->grid, cx, cy, &gc);  
                         cx++;                          cx++;
                 }                  }
                 cy++;                  cy++;

Legend:
Removed from v.1.149  
changed lines
  Added in v.1.150