summaryrefslogtreecommitdiffstats
path: root/style.c
diff options
context:
space:
mode:
authornicm <nicm>2019-07-06 20:37:29 +0000
committernicm <nicm>2019-07-06 20:37:29 +0000
commit3635b3cd6c3343b2ec3f7173facef8a284e7e613 (patch)
tree773c43e81053193348309a242156d8e699a83aaf /style.c
parent55c694a4679ee225b1962db63671422f3e641fc6 (diff)
Correctly clear underscore colour in grid_get_cell1, also fix struct
grid_cell to avoid padding. Fixes increased memory use reported by Suraj N Kurapati.
Diffstat (limited to 'style.c')
-rw-r--r--style.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/style.c b/style.c
index f195301f..9f986314 100644
--- a/style.c
+++ b/style.c
@@ -30,7 +30,7 @@
/* Default style. */
static struct style style_default = {
- { 0, 0, 8, 8, 0, { { ' ' }, 0, 1, 1 } },
+ { { { ' ' }, 0, 1, 1 }, 0, 0, 8, 8, 0 },
8,
STYLE_ALIGN_DEFAULT,