Copy alist strings to the dst stringbank; fixes problems with uqm.cfg loading in release builds

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2356 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2006-05-05 23:47:30 +00:00
parent 2afb4cba61
commit aa95a8010e
+3 -1
View File
@@ -97,7 +97,9 @@ Alist_PutAll (alist *dst, alist *src)
{
alist_entry *e = src->first;
while (e) {
Alist_PutString (dst, e->key, e->value);
Alist_PutString (dst,
StringBank_AddOrFindString(dst->bank, e->key),
StringBank_AddOrFindString(dst->bank, e->value));
e = e->next;
}
}