(svn r1999) r1990 broke savegame deletion, fix that [1161729]

This commit is contained in:
tron 2005-03-12 09:24:27 +00:00
parent e76912303c
commit 70be35f319
3 changed files with 3 additions and 3 deletions

2
os2.c
View File

@ -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);
}

2
unix.c
View File

@ -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);
}

View File

@ -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);
}