summaryrefslogtreecommitdiffstats
path: root/screen-write.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-12-06 10:44:37 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-12-06 10:44:37 +0000
commit85c087ad4e3addc5702661b3834650410e189327 (patch)
treef3ae50bff88e066c77220088796a14bff9c74912 /screen-write.c
parent8ec9b07c839cf1c924687d14c660ffaecca9586a (diff)
Another redraw bugs.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/screen-write.c b/screen-write.c
index 549242e8..251084f6 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -1,4 +1,4 @@
-/* $Id: screen-write.c,v 1.3 2007-12-06 10:36:01 nicm Exp $ */
+/* $Id: screen-write.c,v 1.4 2007-12-06 10:44:37 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -385,8 +385,8 @@ screen_write_fill_end_of_screen(struct screen_write_ctx *ctx)
screen_fill_area(s, s->cx, s->cy,
screen_right_x(s, s->cx), 1, SCREEN_DEFDATA, s->attr, s->colr);
- screen_fill_area(s, 0, s->cy + 1,
- screen_below_y(s, s->cy + 1), 1, SCREEN_DEFDATA, s->attr, s->colr);
+ screen_fill_area(s, 0, s->cy + 1, screen_size_x(s),
+ screen_below_y(s, s->cy + 1), SCREEN_DEFDATA, s->attr, s->colr);
if (ctx->write != NULL) {
ctx->write(ctx->data, TTY_CLEARENDOFLINE);