Cbuf_Init: raise cmd_text from 8k to 256k to handle large .cfgs, from QS-Spike

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1400 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
ewasylishen 2017-04-21 20:43:05 +00:00
parent 1f3d93089e
commit 53ea710a74

View file

@ -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.
}