From defee56c4184cbd78907a62dce69a4b4f5e2c00a Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 31 Aug 2009 17:03:04 +0200 Subject: alsamixer: Improve set_escdelay() function availability detection Signed-off-by: Jaroslav Kysela --- alsamixer/mainloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alsamixer') diff --git a/alsamixer/mainloop.c b/alsamixer/mainloop.c index 7a5ffdc..eddaf3b 100644 --- a/alsamixer/mainloop.c +++ b/alsamixer/mainloop.c @@ -44,7 +44,7 @@ void initialize_curses(bool use_color) curses_initialized = initscr(); cbreak(); noecho(); -#ifdef NCURSES_VERSION +#ifdef HAVE_CURSES_ESCDELAY set_escdelay(100); #endif window_size_changed(); /* update screen_lines/cols */ -- cgit v1.2.1