mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-15 01:11:59 +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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@639 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
391d38fc05
commit
023e298dde
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
|
||||
Cbuf_AddText (text);
|
||||
|
||||
SZ_Write (&cmd_text, "\n", 1);
|
||||
// add the copied off data
|
||||
if (templen)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue