From 7057b7cdf1d2d7b29f2ceb2aaa2ffb463dc259c6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 14 May 2022 21:47:15 +0200 Subject: [PATCH] - extended the read buffer for the 'secret' CCMD. --- src/console/c_cmds.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/console/c_cmds.cpp b/src/console/c_cmds.cpp index 15e932d205..33f107d1ad 100644 --- a/src/console/c_cmds.cpp +++ b/src/console/c_cmds.cpp @@ -1023,10 +1023,10 @@ CCMD(secret) maphdr.Format("[%s]", mapname); FString linebuild; - char readbuffer[1024]; + char readbuffer[10240]; bool inlevel = false; - while (lump.Gets(readbuffer, 1024)) + while (lump.Gets(readbuffer, 10240)) { if (!inlevel) {