From 599b07497b3130e3bb426d22e568ea7bb007b5c6 Mon Sep 17 00:00:00 2001 From: TingPing Date: Wed, 2 Jan 2013 23:14:13 -0500 Subject: use g_get_user_config_dir --- src/common/cfgfiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 6748fbbd..438361c1 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -330,7 +330,7 @@ get_xdir (void) xdir = g_strdup_printf ("%s\\" "HexChat", out); } #else - xdir = g_strdup_printf ("%s/.config/" HEXCHAT_DIR, g_get_home_dir ()); + xdir = g_strdup_printf ("%s/" HEXCHAT_DIR, g_get_user_config_dir ()); #endif } -- cgit 1.4.1