initialize the string hash table with ""

This commit is contained in:
Bill Currie 2002-05-16 23:32:25 +00:00
parent 04d76ce1cf
commit 372c391737

View file

@ -202,6 +202,7 @@ CopyString (const char *str)
if (!strings_tab) {
strings_tab = Hash_NewTable (16381, stings_get_key, 0, 0);
Hash_Add (strings_tab, strings);
}
old = strofs;
strcpy (strings + strofs, str);