mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
initialize the string hash table with ""
This commit is contained in:
parent
04d76ce1cf
commit
372c391737
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue