]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fixed a bug in the commandline parser when giving it more than one + command.
authortomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Sep 2004 18:31:37 +0000 (18:31 +0000)
committertomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Sep 2004 18:31:37 +0000 (18:31 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4478 d7cf8633-e32d-0410-b094-e92efae38249

cmd.c

diff --git a/cmd.c b/cmd.c
index a074795410fd9bdbd558accf55803abff9dc62ed..41a68f588130af8f8ed8e0d8dfe5ab4d551c2aab 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -252,6 +252,7 @@ void Cmd_StuffCmds_f (void)
                        build[l++] = '\n';
                        build[l++] = 0;
                        Cbuf_InsertText (build);
+                       i--;
                }
        }
 }