aboutsummaryrefslogtreecommitdiff
path: root/grid.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-05-30 13:41:58 +0000
committerTiago Cunha <tcunha@gmx.com>2012-05-30 13:41:58 +0000
commitc6fc8771a9ebcfe0a10e9cc6889a1c1836369b78 (patch)
tree9221e2b7f535c518ea79bb798b811b8ad1bfb735 /grid.c
parent626c8aa8e728ac5ae30fd812810481b829f31db6 (diff)
downloadrtmux-c6fc8771a9ebcfe0a10e9cc6889a1c1836369b78.tar.gz
rtmux-c6fc8771a9ebcfe0a10e9cc6889a1c1836369b78.tar.bz2
rtmux-c6fc8771a9ebcfe0a10e9cc6889a1c1836369b78.zip
Sync OpenBSD patchset 1122:
Use a predefined structure for not-space cells used to set attributes.
Diffstat (limited to 'grid.c')
-rw-r--r--grid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/grid.c b/grid.c
index 60b87cb3..e9922d91 100644
--- a/grid.c
+++ b/grid.c
@@ -36,6 +36,7 @@
/* Default grid cell data. */
const struct grid_cell grid_default_cell = { 0, 0, 8, 8, ' ' };
+const struct grid_cell grid_marker_cell = { 0, 0, 8, 8, '_' };
#define grid_put_cell(gd, px, py, gc) do { \
memcpy(&gd->linedata[py].celldata[px], \