summaryrefslogtreecommitdiff
path: root/src/fe-text/mainwindows.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-15 22:25:49 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-15 22:25:49 +0000
commit0807bafbe8bace7938563ef3d56b74c0d1e96949 (patch)
tree4502f80c5d94ca1488262854dd5e89ebf1e7af76 /src/fe-text/mainwindows.c
parent24dd6d0917c73bd0d5ecd8397a21cadd990e6e39 (diff)
downloadirssi-0807bafbe8bace7938563ef3d56b74c0d1e96949.zip
no, bugfix done wrong :) reversed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1122 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/mainwindows.c')
-rw-r--r--src/fe-text/mainwindows.c4
1 files changed, 2 insertions, 2 deletions
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;