From b61e210389f351e4d2e0d5e0d437ddb24bbf1c4c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 11 Oct 2000 21:10:43 +0000 Subject: [PATCH] removed warning git-svn-id: http://svn.irssi.org/repos/irssi/trunk@728 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/gui-printtext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c index 2c74b5bf..19329216 100644 --- a/src/fe-text/gui-printtext.c +++ b/src/fe-text/gui-printtext.c @@ -332,12 +332,12 @@ static void gui_printtext(WINDOW_REC *window, gpointer fgcolor, gpointer bgcolor static void window_clear(GUI_WINDOW_REC *gui) { - int n; - #ifdef USE_CURSES_WINDOWS wclear(gui->parent->curses_win); screen_refresh(gui->parent->curses_win); #else + int n; + for (n = gui->parent->first_line; n < gui->parent->last_line; n++) { move(n, 0); clrtoeol();