diff options
author | tron <tron@openttd.org> | 2005-03-12 09:24:27 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-03-12 09:24:27 +0000 |
commit | fa9506b191d8a6ddbc6f7d65eb27d450a6f95a94 (patch) | |
tree | 559708f102706f5d45eb2939ca992464bf78da91 /win32.c | |
parent | 9cf1124d86a88776b3ec911b4a90ea9769492429 (diff) | |
download | openttd-fa9506b191d8a6ddbc6f7d65eb27d450a6f95a94.tar.xz |
(svn r1999) r1990 broke savegame deletion, fix that [1161729]
Diffstat (limited to 'win32.c')
-rw-r--r-- | win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |