Fixed a bug introduced by my optimizations.

This commit is contained in:
Brian Koropoff 2002-05-19 06:32:57 +00:00
parent f78f921285
commit 347962cc33

View file

@ -1343,8 +1343,10 @@ Cmd_ProcessToken (cmd_token_t *token)
{ {
int res; int res;
dstring_clearstr (token->processed); if (!token->pos) {
dstring_appendstr (token->processed, token->original->str); dstring_clearstr (token->processed);
dstring_appendstr (token->processed, token->original->str);
}
res = Cmd_ProcessEmbedded (token, token->processed); res = Cmd_ProcessEmbedded (token, token->processed);
if (res < 0) if (res < 0)
return res; return res;