diff options
author | glx <glx@openttd.org> | 2009-01-19 00:53:31 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2009-01-19 00:53:31 +0000 |
commit | ee1331bb465dea93e7f32d768faa376f907aaca5 (patch) | |
tree | 7f80a99be272954dd4c7e5d9fbd3688607eccace /src | |
parent | 0e83fb37c0281e9065eb0b0163b6504eb8beb2e2 (diff) | |
download | openttd-ee1331bb465dea93e7f32d768faa376f907aaca5.tar.xz |
(svn r15147) -Fix (r15146): compile before commit
Diffstat (limited to 'src')
-rw-r--r-- | src/saveload/oldloader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp index 4440cfd28..9fea7ac4d 100644 --- a/src/saveload/oldloader.cpp +++ b/src/saveload/oldloader.cpp @@ -1603,9 +1603,9 @@ void GetOldSaveGameName(const char *path, const char *file, char *title, const c temp[0] = '\0'; // name is nul-terminated in savegame ... if (f == NULL) { - *title = '\0' + *title = '\0'; return; - ] + } bool broken = (fread(temp, 1, HEADER_SIZE, f) != HEADER_SIZE || !VerifyOldNameChecksum(temp)); |