From 8ba76d487d9820cdbe5d40337ef787c77a6389a9 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 15 Aug 2003 21:04:10 +0000 Subject: 2003-08-11 Marco Gerards * cons.h (cons_vcons_set_dimension): New prototype. * vcons-refresh.c (cons_vcons_refresh): Call cons_vcons_set_dimension instead of cons_vcons_clear. --- libcons/vcons-refresh.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcons/vcons-refresh.c') diff --git a/libcons/vcons-refresh.c b/libcons/vcons-refresh.c index ec899a91..7a572c79 100644 --- a/libcons/vcons-refresh.c +++ b/libcons/vcons-refresh.c @@ -1,5 +1,5 @@ /* vcons-refresh.c - Redraw a virtual console. - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2003 Free Software Foundation, Inc. Written by Marcus Brinkmann. This file is part of the GNU Hurd. @@ -41,8 +41,8 @@ cons_vcons_refresh (vcons_t vcons) if (vcons->state.screen.scr_lines < vcons->scrolling) vcons->scrolling = vcons->scrolling; - cons_vcons_clear (vcons, vcons->state.screen.width - * vcons->state.screen.height, 0, 0); + cons_vcons_set_dimension (vcons, vcons->state.screen.width, + vcons->state.screen.height); if (vcons->state.screen.cur_line >= vcons->scrolling) start = vcons->state.screen.cur_line - vcons->scrolling; -- cgit v1.2.3