From: Avuton Olrich Date: Fri, 10 Feb 2012 03:19:07 +0000 (-0800) Subject: conf.c: Add windows default user key binding config check X-Git-Tag: release-0.21~30 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=07feab327754303128e36a19c7a5943950c6df58;p=ncmpc.git conf.c: Add windows default user key binding config check --- diff --git a/src/conf.c b/src/conf.c index f8ccfac..1aaa166 100644 --- a/src/conf.c +++ b/src/conf.c @@ -641,7 +641,11 @@ build_system_conf_filename(void) char * build_user_key_binding_filename(void) { +#ifdef WIN32 + return g_build_filename(g_get_user_config_dir(), PACKAGE, "keys.conf", NULL); +#else return g_build_filename(g_get_home_dir(), "." PACKAGE, "keys", NULL); +#endif } void