summaryrefslogtreecommitdiff
path: root/alsamixer
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2009-08-31 17:03:04 +0200
committerJaroslav Kysela <perex@perex.cz>2009-08-31 17:13:36 +0200
commitdefee56c4184cbd78907a62dce69a4b4f5e2c00a (patch)
tree4445808a80cd0d22007b1f6e947a3cde91776823 /alsamixer
parentca0ff77c7c6f2b137b48aac234d49e122fd7d553 (diff)
downloadalsa-utils-defee56c4184cbd78907a62dce69a4b4f5e2c00a.tar.gz
alsamixer: Improve set_escdelay() function availability detectionv1.0.21
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'alsamixer')
-rw-r--r--alsamixer/mainloop.c2
1 files changed, 1 insertions, 1 deletions
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 */