diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-05-11 14:01:10 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-05-11 14:01:10 +0100 |
commit | 99582befc49c4c17e5ab56441ba3bc7d0321eeb2 (patch) | |
tree | 43bd720c404dd73e3d40bb901bdfafe80e85374a /screen-write.c | |
parent | def8f852e3d704b6b6f06f9d6951dd0f779e5c00 (diff) | |
parent | c0d3f204b0b7557793f89535dd555258b3a4a85f (diff) | |
download | rtmux-99582befc49c4c17e5ab56441ba3bc7d0321eeb2.tar.gz rtmux-99582befc49c4c17e5ab56441ba3bc7d0321eeb2.tar.bz2 rtmux-99582befc49c4c17e5ab56441ba3bc7d0321eeb2.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'screen-write.c')
-rw-r--r-- | screen-write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/screen-write.c b/screen-write.c index 14cbd4d5..6631ab56 100644 --- a/screen-write.c +++ b/screen-write.c @@ -943,9 +943,9 @@ screen_write_clearstartofscreen(struct screen_write_ctx *ctx, u_int bg) if (s->cy > 0) grid_view_clear(s->grid, 0, 0, sx, s->cy, bg); if (s->cx > sx - 1) - grid_view_clear(s->grid, 0, s->cy, sx, 1, 8); + grid_view_clear(s->grid, 0, s->cy, sx, 1, bg); else - grid_view_clear(s->grid, 0, s->cy, s->cx + 1, 1, 8); + grid_view_clear(s->grid, 0, s->cy, s->cx + 1, 1, bg); screen_write_collect_clear(ctx, 0, s->cy); screen_write_collect_flush(ctx, 0); |