summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 95c1104)
raw | patch | inline | side by side (parent: 95c1104)
author | Avuton Olrich <avuton@gmail.com> | |
Fri, 10 Feb 2012 03:19:07 +0000 (19:19 -0800) | ||
committer | Avuton Olrich <avuton@gmail.com> | |
Fri, 10 Feb 2012 03:20:55 +0000 (19:20 -0800) |
src/conf.c | patch | blob | history |
diff --git a/src/conf.c b/src/conf.c
index f8ccfaccde88fa7f07b7ef49ba085f4b35b17970..1aaa1666d2b1eae73d30e1c8eed4b1a6efd143cd 100644 (file)
--- a/src/conf.c
+++ b/src/conf.c
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