From faafbec894094c27f0f50abb1c0b828180523854 Mon Sep 17 00:00:00 2001 From: black Date: Sat, 13 Mar 2004 14:43:04 +0000 Subject: [PATCH] DP should read the config files correcly again now. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4011 d7cf8633-e32d-0410-b094-e92efae38249 --- cmd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd.c b/cmd.c index 5d6121d1..ec5e3cb5 100644 --- 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 -- 2.39.2