0
0
Fork 0
mirror of https://github.com/ZDoom/gzdoom.git synced 2025-04-21 02:11:06 +00:00

- Fixed: Verbose user info strings were written with an extra backslash

character between the key and value.
This commit is contained in:
Randy Heit 2013-07-01 21:40:09 -05:00
parent 02ff428d54
commit e9425b356b

View file

@ -713,7 +713,7 @@ void D_WriteUserInfoStrings (int pnum, BYTE **stream, bool compact)
if (!compact)
{ // In verbose mode, prepend the cvar's name
*stream += sprintf(*((char **)stream), "\\%s\\", pair->Key.GetChars());
*stream += sprintf(*((char **)stream), "\\%s", pair->Key.GetChars());
}
// A few of these need special handling for compatibility reasons.
switch (pair->Key.GetIndex())