use g_get_user_config_dir
This commit is contained in:
parent
7f2846a5bd
commit
599b07497b
|
@ -330,7 +330,7 @@ get_xdir (void)
|
||||||
xdir = g_strdup_printf ("%s\\" "HexChat", out);
|
xdir = g_strdup_printf ("%s\\" "HexChat", out);
|
||||||
}
|
}
|
||||||
#else
|
#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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue