use g_get_user_config_dir

This commit is contained in:
TingPing 2013-01-02 23:14:13 -05:00
parent 7f2846a5bd
commit 599b07497b
1 changed files with 1 additions and 1 deletions

View File

@ -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
}