- 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) if (!compact)
{ // In verbose mode, prepend the cvar's name { // 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. // A few of these need special handling for compatibility reasons.
switch (pair->Key.GetIndex()) switch (pair->Key.GetIndex())