mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
do not include \key\value pairs in the output of Info_MakeString for
backwards compatability with the old info key system.
This commit is contained in:
parent
bf4570de72
commit
9829cf3993
1 changed files with 2 additions and 0 deletions
|
@ -253,6 +253,8 @@ Info_MakeString (info_t *info, int (*filter)(const char *))
|
||||||
key_list = (info_key_t **)Hash_GetList (info->tab);
|
key_list = (info_key_t **)Hash_GetList (info->tab);
|
||||||
|
|
||||||
for (key = key_list; *key; key++) {
|
for (key = key_list; *key; key++) {
|
||||||
|
if (!*(*key)->value)
|
||||||
|
continue;
|
||||||
if (filter && filter ((*key)->key))
|
if (filter && filter ((*key)->key))
|
||||||
continue;
|
continue;
|
||||||
*d++ = '\\';
|
*d++ = '\\';
|
||||||
|
|
Loading…
Reference in a new issue