From b5b129f4d688ac154be7b54c6f07c082ab9284e2 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 8 Jun 2020 21:36:07 +0000 Subject: [PATCH] Fix scope screwup preventing apropos from printing cvars git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12655 d7cf8633-e32d-0410-b094-e92efae38249 --- cmd.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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) { -- 2.39.2