1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-29 20:52:16 -05:00

follow XDG for default download directory

closes #413
This commit is contained in:
TingPing 2013-02-16 23:07:18 -05:00
parent e6d65e4004
commit 936785d24e

View File

@ -754,7 +754,7 @@ load_config (void)
snprintf (prefs.hex_dcc_dir, sizeof (prefs.hex_dcc_dir), "%s\\Downloads", out); snprintf (prefs.hex_dcc_dir, sizeof (prefs.hex_dcc_dir), "%s\\Downloads", out);
} }
#else #else
snprintf (prefs.hex_dcc_dir, sizeof (prefs.hex_dcc_dir), "%s/downloads", get_xdir ()); strcpy (prefs.hex_dcc_dir, g_get_user_special_dir(G_USER_DIRECTORY_DOWNLOAD));
#endif #endif
strcpy (prefs.hex_dnsprogram, "host"); strcpy (prefs.hex_dnsprogram, "host");
strcpy (prefs.hex_gui_ulist_doubleclick, "QUERY %s"); strcpy (prefs.hex_gui_ulist_doubleclick, "QUERY %s");