[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.29 and 1.30

version 1.29, 2013/03/25 10:07:40 version 1.30, 2013/10/10 11:49:29
Line 592 
Line 592 
         char                    *buf, code[128];          char                    *buf, code[128];
         size_t                   len, off, size, codelen;          size_t                   len, off, size, codelen;
         u_int                    xx;          u_int                    xx;
           const struct grid_line  *gl;
   
         GRID_DEBUG(gd, "px=%u, py=%u, nx=%u", px, py, nx);          GRID_DEBUG(gd, "px=%u, py=%u, nx=%u", px, py, nx);
   
Line 604 
Line 605 
         buf = xmalloc(len);          buf = xmalloc(len);
         off = 0;          off = 0;
   
           gl = grid_peek_line(gd, py);
         for (xx = px; xx < px + nx; xx++) {          for (xx = px; xx < px + nx; xx++) {
                 gc = grid_peek_cell(gd, xx, py);                  if (gl == NULL || xx >= gl->cellsize)
                           break;
                   gc = &gl->celldata[xx];
                 if (gc->flags & GRID_FLAG_PADDING)                  if (gc->flags & GRID_FLAG_PADDING)
                         continue;                          continue;
                 grid_cell_get(gc, &ud);                  grid_cell_get(gc, &ud);

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30