]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
DP should read the config files correcly again now.
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 13 Mar 2004 14:43:04 +0000 (14:43 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 13 Mar 2004 14:43:04 +0000 (14:43 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4011 d7cf8633-e32d-0410-b094-e92efae38249

cmd.c

diff --git a/cmd.c b/cmd.c
index 5d6121d151fd968054fc66d07f163d41a1347d26..ec5e3cb5197a72e0d1a12fe02e22acedcab808b6 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -158,8 +158,6 @@ void Cbuf_Execute (void)
                text = (char *)cmd_text.data;
 
                quotes = 0;
-               while (*text && *text <= ' ')
-                       text++;
                for (i=0 ; i< cmd_text.cursize ; i++)
                {
                        if (text[i] == '"')
@@ -183,7 +181,7 @@ void Cbuf_Execute (void)
                {
                        i++;
                        cmd_text.cursize -= i;
-                       memcpy (text, text+i, cmd_text.cursize);
+                       memcpy (cmd_text.data, text+i, cmd_text.cursize);
                }
 
 // execute the command line