summaryrefslogtreecommitdiffstats
path: root/format-draw.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 /format-draw.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 'format-draw.c')
-rw-r--r--format-draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/format-draw.c b/format-draw.c
index bb5c65fb..e0ca89f0 100644
--- a/format-draw.c
+++ b/format-draw.c
@@ -565,7 +565,7 @@ format_draw(struct screen_write_ctx *octx, const struct grid_cell *base,
cp++;
}
- /* Draw the cell to th current screen. */
+ /* Draw the cell to the current screen. */
screen_write_cell(&ctx[current], &sy.gc);
width[current] += ud->width;
continue;