mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
[console] Fix a build failure without ncurses
It seems that I'd gotten some wires crossed when submitting the issue in that it was the server console, not qwaq-curses, but fixes #54
This commit is contained in:
parent
25e27bba64
commit
23b041c2c0
1 changed files with 2 additions and 4 deletions
|
@ -146,11 +146,7 @@ enum {
|
|||
sv_cursor = 8,
|
||||
};
|
||||
|
||||
#ifdef HAVE_NCURSES
|
||||
static int use_curses = 1;
|
||||
#else
|
||||
static int use_curses = 0;
|
||||
#endif
|
||||
|
||||
static view_t sv_view;
|
||||
static view_t output;
|
||||
|
@ -855,12 +851,14 @@ C_ProcessInput (void)
|
|||
static void
|
||||
C_DrawConsole (void)
|
||||
{
|
||||
#ifdef HAVE_NCURSES
|
||||
// only the status bar is drawn because the inputline and output views
|
||||
// take care of themselves
|
||||
if (use_curses) {
|
||||
draw_status (status);
|
||||
sv_refresh_windows ();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue