summaryrefslogtreecommitdiff
path: root/oldloader.c
diff options
context:
space:
mode:
Diffstat (limited to 'oldloader.c')
-rw-r--r--oldloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/oldloader.c b/oldloader.c
index 882292170..26f5813b0 100644
--- a/oldloader.c
+++ b/oldloader.c
@@ -1641,7 +1641,7 @@ void GetOldSaveGameName(char *title, const char *file)
return;
if (fread(title, 1, 48, f) != 48)
- title[0] = '\0';
+ snprintf(title, 48, "Corrupt file");
fclose(f);
}