From 67c355e571ba2042a3be5994ec6b30680629ff88 Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 4 May 2020 12:19:53 -0700 Subject: [PATCH] Use COM_ImmedExecute to load the config, so the buffer size doesn't matter --- src/command.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/command.c b/src/command.c index 6f3ccd7f6..77e88e203 100644 --- a/src/command.c +++ b/src/command.c @@ -717,8 +717,7 @@ static void COM_Exec_f(void) CONS_Printf(M_GetText("executing %s\n"), COM_Argv(1)); // insert text file into the command buffer - COM_BufAddText((char *)buf); - COM_BufAddText("\n"); + COM_ImmedExecute((char *)buf); // free buffer Z_Free(buf);