summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2009-01-19 00:53:31 +0000
committerglx <glx@openttd.org>2009-01-19 00:53:31 +0000
commit80af9b446ad761b8adb1f082c8f882049e841df5 (patch)
tree7f80a99be272954dd4c7e5d9fbd3688607eccace /src
parenta7fc02a9001ba5c607e0bb3328d26c03c2c182c6 (diff)
downloadopenttd-80af9b446ad761b8adb1f082c8f882049e841df5.tar.xz
(svn r15147) -Fix (r15146): compile before commit
Diffstat (limited to 'src')
-rw-r--r--src/saveload/oldloader.cpp4
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));