From 3e4b9f8f6cbbf1e232dc18f68477bd4390cc2bdf Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Fri, 21 Apr 2017 20:43:05 +0000 Subject: [PATCH] Cbuf_Init: raise cmd_text from 8k to 256k to handle large .cfgs, from QS-Spike git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1400 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quake/cmd.c b/Quake/cmd.c index 4df16e4b..938230e9 100644 --- a/Quake/cmd.c +++ b/Quake/cmd.c @@ -74,7 +74,7 @@ Cbuf_Init */ void Cbuf_Init (void) { - SZ_Alloc (&cmd_text, 8192); // space for commands and script files + SZ_Alloc (&cmd_text, 1<<18); // space for commands and script files. spike -- was 8192, but modern configs can be _HUGE_, at least if they contain lots of comments/docs for things. }