diff options
author | Timo Sirainen <cras@irssi.org> | 2001-01-15 22:20:30 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-01-15 22:20:30 +0000 |
commit | 24dd6d0917c73bd0d5ecd8397a21cadd990e6e39 (patch) | |
tree | 54e794ec883111d4e460cb936a08ca4d76e6f2b5 /src | |
parent | a5d88f4db1faf6b7854cc864f77db25954225428 (diff) | |
download | irssi-24dd6d0917c73bd0d5ecd8397a21cadd990e6e39.zip |
Compiling with --disable-curses-windows was broken
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1121 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/mainwindows.c | 4 | ||||
-rw-r--r-- | 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 |