diff options
author | nicm <nicm> | 2017-05-12 15:18:13 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-05-12 15:18:13 +0000 |
commit | 0cd74723e1e3c7152323c700eba6cf4ce83f46e4 (patch) | |
tree | 53543020deabef51d8e9a6b250f9b7f63bac7c82 | |
parent | e2a18e2b371de4bdd689dd32eee31d8a2697df4c (diff) | |
download | rtmux-0cd74723e1e3c7152323c700eba6cf4ce83f46e4.tar.gz rtmux-0cd74723e1e3c7152323c700eba6cf4ce83f46e4.tar.bz2 rtmux-0cd74723e1e3c7152323c700eba6cf4ce83f46e4.zip |
When expanding a line in order to clear it, we need to use the default
background colour - there may be portions that we do not want to clear
with the new background colour.
-rw-r--r-- | grid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -472,7 +472,7 @@ grid_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny, u_int bg) gd->linedata[yy].cellsize = px; continue; } - grid_expand_line(gd, yy, px + nx, bg); + grid_expand_line(gd, yy, px + nx, 8); /* default bg first */ for (xx = px; xx < px + nx; xx++) grid_clear_cell(gd, xx, yy, bg); } |