summaryrefslogtreecommitdiff
path: root/os2.c
diff options
context:
space:
mode:
Diffstat (limited to 'os2.c')
-rw-r--r--os2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/os2.c b/os2.c
index e6a1b86d1..03cbbc5cb 100644
--- a/os2.c
+++ b/os2.c
@@ -405,7 +405,8 @@ void FiosMakeSavegameName(char *buf, const char *name)
void FiosDelete(const char *name)
{
- char *path = str_buffr;
+ char path[512];
+
FiosMakeSavegameName(path, name);
unlink(path);
}