diff --git a/screen-write.c b/screen-write.c index 251084f6..f0693ec3 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1,4 +1,4 @@ -/* $Id: screen-write.c,v 1.4 2007-12-06 10:44:37 nicm Exp $ */ +/* $Id: screen-write.c,v 1.5 2007-12-06 19:57:01 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -383,9 +383,9 @@ screen_write_fill_end_of_screen(struct screen_write_ctx *ctx) struct screen *s = ctx->s; u_int i; - screen_fill_area(s, s->cx, s->cy, + screen_display_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_size_x(s), + screen_display_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) {