diff options
| author | 2019-07-06 20:37:29 +0000 | |
|---|---|---|
| committer | 2019-07-06 20:37:29 +0000 | |
| commit | 1fabeb5afdfffcf1a47bd6d84c80cf2b8898212d (patch) | |
| tree | 5834d17ab638090c349b7ac2556ad64b16bca63e /usr.bin/tmux/format-draw.c | |
| parent | oops. added but not committed. Reminded by Patrick (diff) | |
| download | wireguard-openbsd-1fabeb5afdfffcf1a47bd6d84c80cf2b8898212d.tar.xz wireguard-openbsd-1fabeb5afdfffcf1a47bd6d84c80cf2b8898212d.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 'usr.bin/tmux/format-draw.c')
| -rw-r--r-- | usr.bin/tmux/format-draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/format-draw.c b/usr.bin/tmux/format-draw.c index c74f2841a99..d1023deb1c3 100644 --- a/usr.bin/tmux/format-draw.c +++ b/usr.bin/tmux/format-draw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: format-draw.c,v 1.11 2019/07/01 06:56:00 nicm Exp $ */ +/* $OpenBSD: format-draw.c,v 1.12 2019/07/06 20:37:29 nicm Exp $ */ /* * Copyright (c) 2019 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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; |
