ref: 5a04f3310ecb84e01130ebd4ce3717dd75676074
parent: 1857858144fc14ed5b370bb9a86653606c647ae6
author: Fabian Greffrath <[email protected]>
date: Mon Jun 24 05:34:43 EDT 2019
reverse the order of map and PWAD name in default savegame name PWAD file names tend to be rather long and a too long file name could shift the map name out of the buffer size, so it would still be unclear which map the savegame actually belongs to.
--- a/src/doom/m_menu.c
+++ b/src/doom/m_menu.c
@@ -644,8 +644,8 @@
else
{
M_snprintf(savegamestrings[itemOn], SAVESTRINGSIZE,
- "%s: %s", W_WadNameForLump(maplumpinfo),
- maplumpinfo->name);
+ "%s (%s)", maplumpinfo->name
+ W_WadNameForLump(maplumpinfo));
}
M_ForceUppercase(savegamestrings[itemOn]);
joypadSave = false;