mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- fix uninitialized string buffer in bot code.
SVN r3287 (trunk)
This commit is contained in:
parent
5747406776
commit
f8bc459a21
1 changed files with 1 additions and 0 deletions
|
@ -474,6 +474,7 @@ static void appendinfo (char *&front, const char *back)
|
|||
{
|
||||
size_t newlen = strlen (back) + 2;
|
||||
newstr = new char[newlen];
|
||||
newstr[0] = 0;
|
||||
}
|
||||
strcat (newstr, "\\");
|
||||
strcat (newstr, back);
|
||||
|
|
Loading…
Reference in a new issue