mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
Make sure configs are \n terminated, so can't merge with whatever command came after the exec command.
This commit is contained in:
parent
34a87f4034
commit
afdb605130
1 changed files with 1 additions and 0 deletions
|
@ -293,6 +293,7 @@ void Cmd_Exec_f (void)
|
|||
if (cmd_warncmd.value)
|
||||
Con_Printf ("execing %s\n",Cmd_Argv(1));
|
||||
|
||||
Cbuf_InsertText ("\n"); //just in case there was no trailing \n.
|
||||
Cbuf_InsertText (f);
|
||||
Hunk_FreeToLowMark (mark);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue