diff options
author | nicm <nicm> | 2019-07-06 20:37:29 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-07-06 20:37:29 +0000 |
commit | 3635b3cd6c3343b2ec3f7173facef8a284e7e613 (patch) | |
tree | 773c43e81053193348309a242156d8e699a83aaf /screen-write.c | |
parent | 55c694a4679ee225b1962db63671422f3e641fc6 (diff) | |
download | rtmux-3635b3cd6c3343b2ec3f7173facef8a284e7e613.tar.gz rtmux-3635b3cd6c3343b2ec3f7173facef8a284e7e613.tar.bz2 rtmux-3635b3cd6c3343b2ec3f7173facef8a284e7e613.zip |
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 'screen-write.c')
-rw-r--r-- | screen-write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screen-write.c b/screen-write.c index 631328a3..943e3044 100644 --- a/screen-write.c +++ b/screen-write.c @@ -36,7 +36,7 @@ static const struct grid_cell *screen_write_combine(struct screen_write_ctx *, const struct utf8_data *, u_int *); static const struct grid_cell screen_write_pad_cell = { - GRID_FLAG_PADDING, 0, 8, 8, 0, { { 0 }, 0, 0, 0 } + { { 0 }, 0, 0, 0 }, 0, GRID_FLAG_PADDING, 0, 8, 8 }; struct screen_write_collect_item { |