cmd.c (Cbuf_InsertText): Unconditionally add a newline after the inserted

text. Fixes executed files without a newline at the end of them eating up
followup commands.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@639 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2012-03-03 21:55:53 +00:00
parent 391d38fc05
commit 023e298dde

View file

@ -127,7 +127,7 @@ void Cbuf_InsertText (const char *text)
// add the entire text of the file
Cbuf_AddText (text);
SZ_Write (&cmd_text, "\n", 1);
// add the copied off data
if (templen)
{