mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Compiling with --disable-curses-windows was broken
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1121 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
a5d88f4db1
commit
24dd6d0917
@ -58,7 +58,7 @@ static MAIN_WINDOW_REC *find_window_with_room(void)
|
|||||||
return biggest_rec;
|
return biggest_rec;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_CURSES_WINDOWS
|
#ifndef USE_CURSES_WINDOWS
|
||||||
static void create_curses_window(MAIN_WINDOW_REC *window)
|
static void create_curses_window(MAIN_WINDOW_REC *window)
|
||||||
{
|
{
|
||||||
window->curses_win = newwin(window->lines, COLS, window->first_line, 0);
|
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);
|
signal_emit("mainwindow resized", 1, window);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_CURSES_WINDOWS
|
#ifndef USE_CURSES_WINDOWS
|
||||||
void mainwindows_recreate(void)
|
void mainwindows_recreate(void)
|
||||||
{
|
{
|
||||||
GSList *tmp;
|
GSList *tmp;
|
||||||
|
@ -27,7 +27,7 @@ void mainwindow_destroy(MAIN_WINDOW_REC *window);
|
|||||||
|
|
||||||
void mainwindows_redraw(void);
|
void mainwindows_redraw(void);
|
||||||
void mainwindows_resize(int ychange, int xchange);
|
void mainwindows_resize(int ychange, int xchange);
|
||||||
#ifdef USE_CURSES_WINDOWS
|
#ifndef USE_CURSES_WINDOWS
|
||||||
void mainwindows_recreate(void);
|
void mainwindows_recreate(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user