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