From: cloudwalk Date: Mon, 8 Jun 2020 21:36:07 +0000 (+0000) Subject: Fix scope screwup preventing apropos from printing cvars X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b5b129f4d688ac154be7b54c6f07c082ab9284e2;p=xonotic%2Fdarkplaces.git Fix scope screwup preventing apropos from printing cvars git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12655 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cmd.c b/cmd.c index 8257f973..81f96603 100644 --- a/cmd.c +++ b/cmd.c @@ -1461,12 +1461,11 @@ static void Cmd_Apropos_f(cmd_state_t *cmd) continue; } else { cvar_name = (char *)cvar->name; - break; - } print: - Con_Printf ("cvar "); - Cvar_PrintHelp(cvar, cvar_name, true); - count++; + Con_Printf ("cvar "); + Cvar_PrintHelp(cvar, cvar_name, true); + count++; + } } for (func = cmd->userdefined->csqc_functions; func; func = func->next) {