From 80af9b446ad761b8adb1f082c8f882049e841df5 Mon Sep 17 00:00:00 2001 From: glx Date: Mon, 19 Jan 2009 00:53:31 +0000 Subject: (svn r15147) -Fix (r15146): compile before commit --- src/saveload/oldloader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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)); -- cgit v1.2.3-70-g09d2