mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-06 11:12:34 +01:00
Cosmetics
This commit is contained in:
parent
3679dfe93e
commit
de2fdc093a
@ -752,10 +752,14 @@ 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
|
||||||
if (g_get_user_special_dir(G_USER_DIRECTORY_DOWNLOAD))
|
if (g_get_user_special_dir (G_USER_DIRECTORY_DOWNLOAD))
|
||||||
strcpy (prefs.hex_dcc_dir, g_get_user_special_dir(G_USER_DIRECTORY_DOWNLOAD));
|
{
|
||||||
|
strcpy (prefs.hex_dcc_dir, g_get_user_special_dir (G_USER_DIRECTORY_DOWNLOAD));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
strcpy (prefs.hex_dcc_dir, g_build_filename (g_get_home_dir (), "Downloads", NULL));
|
strcpy (prefs.hex_dcc_dir, g_build_filename (g_get_home_dir (), "Downloads", NULL));
|
||||||
|
}
|
||||||
#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");
|
||||||
|
Loading…
Reference in New Issue
Block a user