1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 03:02:17 -05:00

hardcoding is bad

This commit is contained in:
berkeviktor@aol.com 2011-01-12 08:14:38 +01:00
parent 412637c1fa
commit 4d07655281

View File

@ -197,7 +197,8 @@ increase_max_hash_size ()
if (config_fail)
{
xchat_printf (ph, "Config file is unavailable, defaulting to 4 GB\n");
xchat_printf (ph, "Config file is unavailable, falling back to the default value\n");
print_size ();
} else
{
size = get_max_hash_size ();
@ -223,7 +224,8 @@ decrease_max_hash_size ()
if (config_fail)
{
xchat_printf (ph, "Config file is unavailable, defaulting to 4 GB\n");
xchat_printf (ph, "Config file is unavailable, falling back to the default value\n");
print_size ();
} else
{
size = get_max_hash_size ();