diff options
-rw-r--r-- | os2.c | 2 | ||||
-rw-r--r-- | unix.c | 2 | ||||
-rw-r--r-- | win32.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -403,7 +403,7 @@ void FiosDelete(const char *name) { char path[512]; - FiosMakeSavegameName(path, name); + snprintf(path, lengthof(path), "%s\\%s", _fios_path, name); unlink(path); } @@ -334,7 +334,7 @@ void FiosDelete(const char *name) { char path[512]; - FiosMakeSavegameName(path, name); + snprintf(path, lengthof(path), "%s/%s", _fios_path, name); unlink(path); } @@ -1858,7 +1858,7 @@ void FiosDelete(const char *name) { char path[512]; - FiosMakeSavegameName(path, name); + snprintf(path, lengthof(path), "%s\\%s", _fios_path, name); DeleteFile(path); } |