summaryrefslogtreecommitdiffstats
path: root/screen-display.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-12-06 22:13:14 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-12-06 22:13:14 +0000
commite215e177df4aef91b07bb269b26a60fbb5dfa5db (patch)
tree1eff861d7f70e44b85fc73e7d69d3902a4d7a302 /screen-display.c
parent21d10e68940743dc6ef1d235b455b00c71540905 (diff)
Filling with the right attr should be done in screen-display.c.
Diffstat (limited to 'screen-display.c')
-rw-r--r--screen-display.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/screen-display.c b/screen-display.c
index bf85f1e0..2d42210f 100644
--- a/screen-display.c
+++ b/screen-display.c
@@ -1,4 +1,4 @@
-/* $Id: screen-display.c,v 1.13 2007-12-06 21:57:57 nicm Exp $ */
+/* $Id: screen-display.c,v 1.14 2007-12-06 22:13:14 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -39,6 +39,10 @@ screen_display_make_lines(struct screen *s, u_int py, u_int ny)
return;
}
screen_make_lines(s, screen_y(s, py), ny);
+ if (s->attr != SCREEN_DEFATTR || s->colr != SCREEN_DEFCOLR) {
+ screen_display_fill_area(s, 0, py,
+ screen_size_x(s), ny, SCREEN_DEFDATA, s->attr, s->colr);
+ }
}
/* Free a region of lines. */