Increase text buffer size in WriteSavegameInfo

This commit is contained in:
Jonathan G Rennison
2019-09-14 21:04:21 +01:00
parent 4116ccd578
commit 1e059d1a48

View File

@@ -280,7 +280,7 @@ static void WriteSavegameInfo(const char *name)
GamelogInfo(_load_check_data.gamelog_action, _load_check_data.gamelog_actions, &last_ottd_rev, &ever_modified, &removed_newgrfs); GamelogInfo(_load_check_data.gamelog_action, _load_check_data.gamelog_actions, &last_ottd_rev, &ever_modified, &removed_newgrfs);
char buf[8192]; char buf[65536];
char *p = buf; char *p = buf;
p += seprintf(p, lastof(buf), "Name: %s\n", name); p += seprintf(p, lastof(buf), "Name: %s\n", name);
const char *type = ""; const char *type = "";