mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 11:23:21 +00:00
(svn r1999) r1990 broke savegame deletion, fix that [1161729]
This commit is contained in:
parent
e76912303c
commit
70be35f319
2
os2.c
2
os2.c
@ -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
2
unix.c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user