From 24dd6d0917c73bd0d5ecd8397a21cadd990e6e39 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 15 Jan 2001 22:20:30 +0000 Subject: [PATCH] Compiling with --disable-curses-windows was broken git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1121 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/mainwindows.c | 4 ++-- src/fe-text/mainwindows.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c index 57d3bc24..10e741cf 100644 --- a/src/fe-text/mainwindows.c +++ b/src/fe-text/mainwindows.c @@ -58,7 +58,7 @@ static MAIN_WINDOW_REC *find_window_with_room(void) return biggest_rec; } -#ifdef USE_CURSES_WINDOWS +#ifndef USE_CURSES_WINDOWS static void create_curses_window(MAIN_WINDOW_REC *window) { window->curses_win = newwin(window->lines, COLS, window->first_line, 0); @@ -95,7 +95,7 @@ static void mainwindow_resize(MAIN_WINDOW_REC *window, int ychange, int xchange) signal_emit("mainwindow resized", 1, window); } -#ifdef USE_CURSES_WINDOWS +#ifndef USE_CURSES_WINDOWS void mainwindows_recreate(void) { GSList *tmp; diff --git a/src/fe-text/mainwindows.h b/src/fe-text/mainwindows.h index fd56bd2b..09ceeb83 100644 --- a/src/fe-text/mainwindows.h +++ b/src/fe-text/mainwindows.h @@ -27,7 +27,7 @@ void mainwindow_destroy(MAIN_WINDOW_REC *window); void mainwindows_redraw(void); void mainwindows_resize(int ychange, int xchange); -#ifdef USE_CURSES_WINDOWS +#ifndef USE_CURSES_WINDOWS void mainwindows_recreate(void); #endif