From 7506ea41659c70df01c8ee59681ab2a21128d832 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 4 Feb 2015 12:27:19 +0000 Subject: [PATCH] Fix $# in aliases. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12147 d7cf8633-e32d-0410-b094-e92efae38249 --- cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2