=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/screen-redraw.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- src/usr.bin/tmux/screen-redraw.c 2012/01/29 09:37:02 1.21 +++ src/usr.bin/tmux/screen-redraw.c 2012/05/23 19:19:40 1.22 @@ -1,4 +1,4 @@ -/* $OpenBSD: screen-redraw.c,v 1.21 2012/01/29 09:37:02 nicm Exp $ */ +/* $OpenBSD: screen-redraw.c,v 1.22 2012/05/23 19:19:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -202,9 +202,8 @@ } /* Set up pane border attributes. */ - memcpy(&other_gc, &grid_default_cell, sizeof other_gc); - memcpy(&active_gc, &grid_default_cell, sizeof active_gc); - active_gc.data = other_gc.data = 'x'; /* not space */ + memcpy(&other_gc, &grid_marker_cell, sizeof other_gc); + memcpy(&active_gc, &grid_marker_cell, sizeof active_gc); active_gc.attr = other_gc.attr = GRID_ATTR_CHARSET; fg = options_get_number(oo, "pane-border-fg"); colour_set_fg(&other_gc, fg); @@ -317,8 +316,7 @@ px -= len * 3; py -= 2; - memcpy(&gc, &grid_default_cell, sizeof gc); - gc.data = '_'; /* not space */ + memcpy(&gc, &grid_marker_cell, sizeof gc); if (w->active == wp) colour_set_bg(&gc, active_colour); else @@ -345,8 +343,7 @@ tty_cursor(tty, xoff + wp->sx - len, yoff); draw_text: - memcpy(&gc, &grid_default_cell, sizeof gc); - gc.data = '_'; /* not space */ + memcpy(&gc, &grid_marker_cell, sizeof gc); if (w->active == wp) colour_set_fg(&gc, active_colour); else