(svn r1218) Fix: Autosaves go to the correct folder again with keep_all_autosave enabled

This commit is contained in:
dominik 2004-12-22 15:32:50 +00:00
parent 4f4fa940d8
commit 68e1cdbdea
1 changed files with 1 additions and 1 deletions

2
ttd.c
View File

@ -1041,7 +1041,7 @@ static void DoAutosave()
SetDParam(0, p->name_1);
SetDParam(1, p->name_2);
SetDParam(2, _date);
s= (char*)GetString(buf + strlen(_path.autosave_dir) + strlen(PATHSEP) - 1, STR_4004);
s= (char*)GetString(buf + strlen(_path.autosave_dir) + strlen(PATHSEP), STR_4004);
strcpy(s, ".sav");
} else {
int n = _autosave_ctr;