diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c index 10e741cf..57d3bc24 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; } -#ifndef USE_CURSES_WINDOWS +#ifdef 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); } -#ifndef USE_CURSES_WINDOWS +#ifdef USE_CURSES_WINDOWS void mainwindows_recreate(void) { GSList *tmp;