From d2487a92eec248d647bdfd1b2d11c202122762b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonathan=20Neusch=C3=A4fer?= Date: Thu, 29 Dec 2011 22:04:13 +0100 Subject: [PATCH] conf: make "hardware-cursor" a macro --- src/conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index e5c5ab6..cf87c00 100644 --- a/src/conf.c +++ b/src/conf.c @@ -72,6 +72,7 @@ #define CONF_SCROLL "scroll" #define CONF_SCROLL_SEP "scroll-sep" #define CONF_VISIBLE_BITRATE "visible-bitrate" +#define CONF_HARDWARE_CURSOR "hardware-cursor" #define CONF_WELCOME_SCREEN_LIST "welcome-screen-list" #define CONF_DISPLAY_TIME "display-time" #define CONF_JUMP_PREFIX_ONLY "jump-prefix-only" @@ -421,7 +422,7 @@ parse_line(char *line) /* wide cursor */ else if (!strcasecmp(CONF_WIDE_CURSOR, name)) options.wide_cursor = str2bool(value); - else if (strcasecmp(name, "hardware-cursor") == 0) + else if (strcasecmp(name, CONF_HARDWARE_CURSOR) == 0) options.hardware_cursor = str2bool(value); /* welcome screen list */ else if (!strcasecmp(CONF_WELCOME_SCREEN_LIST, name)) -- 2.30.2