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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@639 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2012-03-03 21:55:53 +00:00
parent 4f9ac636cc
commit 2f85cc13df
1 changed files with 1 additions and 1 deletions

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)
{