summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-10-11 21:10:43 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-10-11 21:10:43 +0000
commitb61e210389f351e4d2e0d5e0d437ddb24bbf1c4c (patch)
tree6efeb251a783d421adcb5168da8668994b989fa1 /src/fe-text
parent59ca882dcc47ed998ac990aa56a2f7b525bda570 (diff)
downloadirssi-b61e210389f351e4d2e0d5e0d437ddb24bbf1c4c.zip
removed warning
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@728 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/gui-printtext.c4
1 files 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();