mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
properly terminate the string created by Info_MakeString (this was the source
of the absurd connect messages)
This commit is contained in:
parent
650d682d2c
commit
610feb9fc6
1 changed files with 1 additions and 0 deletions
|
@ -265,6 +265,7 @@ Info_MakeString (info_t *info, int (*filter)(const char *))
|
|||
for (s = (*key)->value; *s; s++)
|
||||
*d++ = *s;
|
||||
}
|
||||
*d = 0;
|
||||
free (key_list);
|
||||
return string;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue