From 1e059d1a48986cf4b97738761e9a20dfe72def3b Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 14 Sep 2019 21:04:21 +0100 Subject: [PATCH] Increase text buffer size in WriteSavegameInfo --- src/openttd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openttd.cpp b/src/openttd.cpp index ec71b057e0..82d8a5c786 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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); - char buf[8192]; + char buf[65536]; char *p = buf; p += seprintf(p, lastof(buf), "Name: %s\n", name); const char *type = "";