From: divverent Date: Wed, 4 Feb 2015 12:27:19 +0000 (+0000) Subject: Fix $# in aliases. X-Git-Tag: xonotic-v0.8.1~29^2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7506ea41659c70df01c8ee59681ab2a21128d832;p=xonotic%2Fdarkplaces.git Fix $# in aliases. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12147 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cmd.c b/cmd.c index 13d86e00..cab160b4 100644 --- a/cmd.c +++ b/cmd.c @@ -976,7 +976,7 @@ static const char *Cmd_GetDirectCvarValue(const char *varname, cmdalias_t *alias cvar_t *cvar; long argno; char *endptr; - char vabuf[1024]; + static char vabuf[1024]; // cmd_mutex if(is_multiple) *is_multiple = false;