summaryrefslogtreecommitdiffstats
path: root/src/save
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/save/PCSave.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/save/PCSave.cpp b/src/save/PCSave.cpp
index 3794ba88..46185850 100644
--- a/src/save/PCSave.cpp
+++ b/src/save/PCSave.cpp
@@ -86,7 +86,11 @@ C_PcSave::PopulateSlotInfo()
SlotSaveDate[i][0] = '\0';
}
for (int i = 0; i < SLOT_COUNT; i++) {
+#ifdef FIX_BUGS
+ char savename[MAX_PATH];
+#else
char savename[52];
+#endif
struct {
int size;
wchar FileName[24];