summaryrefslogtreecommitdiffstats
path: root/grid.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-05-23 19:19:40 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-05-23 19:19:40 +0000
commit1f23f6d68608716f93e9262cbb2abc335ef88401 (patch)
treed3bca06c708d8d77683fabcedb5aa5d90181e59e /grid.c
parent84c708f3558d440be1a9e92ee8e6ead5c499fb0f (diff)
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 b11e5a97..a92f43f4 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], \