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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user