mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
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:
parent
4f9ac636cc
commit
2f85cc13df
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ void Cbuf_InsertText (const char *text)
|
||||||
|
|
||||||
// add the entire text of the file
|
// add the entire text of the file
|
||||||
Cbuf_AddText (text);
|
Cbuf_AddText (text);
|
||||||
|
SZ_Write (&cmd_text, "\n", 1);
|
||||||
// add the copied off data
|
// add the copied off data
|
||||||
if (templen)
|
if (templen)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue