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 5d6121d..ec5e3cb 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