From: divverent Date: Thu, 24 Jul 2008 07:01:54 +0000 (+0000) Subject: fix ${* q} X-Git-Tag: xonotic-v0.1.0preview~2154 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4c1791c51888a62037acd4a8c16aedb725e59cae;p=xonotic%2Fdarkplaces.git fix ${* q} git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8427 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cmd.c b/cmd.c index 88588672..c9e5cb7b 100644 --- a/cmd.c +++ b/cmd.c @@ -826,7 +826,8 @@ static const char *Cmd_GetCvarValue(const char *var, size_t varlen, cmdalias_t * // Exception: $* and $n- don't use the quoted form by default varstr = Cmd_GetDirectCvarValue(varname, alias, &is_multiple); if(is_multiple) - varfunc = "asis"; + if(!varfunc) + varfunc = "asis"; } if(!varstr)