aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-07-13 15:28:43 +0000
committerKalle Wallin <kaw@linux.se>2004-07-13 15:28:43 +0000
commitf674c3f262a6bf2542debd29c4aa61281a976cbc (patch)
tree54226e05acccdf1bad118b4dadde4c4d4f8b7e10 /src/conf.c
parent2c6af7312cf617f40ab407323fd07a9fa5579495 (diff)
downloadmpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.tar.gz
mpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.tar.xz
mpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.zip
Use my_wgetch() instead of wgetch(), added --[no-]mouse option
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf.c b/src/conf.c
index f1f1223a3..b31b7b173 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -57,7 +57,7 @@
#define CONF_AUDIBLE_BELL "audible-bell"
#define CONF_VISIBLE_BELL "visible-bell"
#define CONF_XTERM_TITLE "set-xterm-title"
-#define CONF_MOUSE_EVENTS "enable-mouse"
+#define CONF_ENABLE_MOUSE "enable-mouse"
typedef enum {
KEY_PARSER_UNKNOWN,
@@ -463,9 +463,9 @@ read_rc_file(char *filename, options_t *options)
{
options->enable_xterm_title = str2bool(value);
}
- else if( !strcasecmp(CONF_MOUSE_EVENTS, name) )
+ else if( !strcasecmp(CONF_ENABLE_MOUSE, name) )
{
- options->enable_mouse_events = str2bool(value);
+ options->enable_mouse = str2bool(value);
}
else
{