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

Diff for /src/usr.bin/tmux/tty.c between version 1.27 and 1.28

version 1.27, 2009/08/31 20:46:19 version 1.28, 2009/09/10 17:16:24
Line 512 
Line 512 
                 if (screen_check_selection(s, i, py)) {                  if (screen_check_selection(s, i, py)) {
                         memcpy(&tmpgc, &s->sel.cell, sizeof tmpgc);                          memcpy(&tmpgc, &s->sel.cell, sizeof tmpgc);
                         tmpgc.data = gc->data;                          tmpgc.data = gc->data;
                         tmpgc.flags = gc->flags;                          tmpgc.flags = gc->flags & ~(GRID_FLAG_FG256|GRID_FLAG_BG256);
                           tmpgc.flags |= s->sel.cell.flags & (GRID_FLAG_FG256|GRID_FLAG_BG256);
                         tty_cell(tty, &tmpgc, gu);                          tty_cell(tty, &tmpgc, gu);
                 } else                  } else
                         tty_cell(tty, gc, gu);                          tty_cell(tty, gc, gu);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28