mirror of https://github.com/OpenTTD/OpenTTD
(svn r1999) r1990 broke savegame deletion, fix that [1161729]
parent
e76912303c
commit
70be35f319
2
os2.c
2
os2.c
|
@ -403,7 +403,7 @@ void FiosDelete(const char *name)
|
||||||
{
|
{
|
||||||
char path[512];
|
char path[512];
|
||||||
|
|
||||||
FiosMakeSavegameName(path, name);
|
snprintf(path, lengthof(path), "%s\\%s", _fios_path, name);
|
||||||
unlink(path);
|
unlink(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
unix.c
2
unix.c
|
@ -334,7 +334,7 @@ void FiosDelete(const char *name)
|
||||||
{
|
{
|
||||||
char path[512];
|
char path[512];
|
||||||
|
|
||||||
FiosMakeSavegameName(path, name);
|
snprintf(path, lengthof(path), "%s/%s", _fios_path, name);
|
||||||
unlink(path);
|
unlink(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue