hardcoding is bad

This commit is contained in:
berkeviktor@aol.com 2011-01-12 08:14:38 +01:00
parent 412637c1fa
commit 4d07655281
1 changed files with 4 additions and 2 deletions

View File

@ -197,7 +197,8 @@ increase_max_hash_size ()
if (config_fail) 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 } else
{ {
size = get_max_hash_size (); size = get_max_hash_size ();
@ -223,7 +224,8 @@ decrease_max_hash_size ()
if (config_fail) 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 } else
{ {
size = get_max_hash_size (); size = get_max_hash_size ();