[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.39 and 1.40

version 1.39, 2014/09/17 15:31:38 version 1.40, 2014/10/08 17:14:04
Line 724 
Line 724 
                         to_copy = src_gl->cellsize;                          to_copy = src_gl->cellsize;
   
                 /* Expand destination line. */                  /* Expand destination line. */
                 dst_gl->celldata = xmalloc(to_copy * sizeof *dst_gl->celldata);                  dst_gl->celldata = xrealloc(NULL, to_copy,
                       sizeof *dst_gl->celldata);
                 dst_gl->cellsize = to_copy;                  dst_gl->cellsize = to_copy;
                 dst_gl->flags |= GRID_LINE_WRAPPED;                  dst_gl->flags |= GRID_LINE_WRAPPED;
   

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40