# HG changeset patch # User Darkvater # Date 1115120935 0 # Node ID ff0ff67f708d6de63c8c9b2b5ed45b4dd1c4c998 # Parent 9018c946e499f51668aaaa4a2b7a565f782173c4 (svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands diff -r 9018c946e499 -r ff0ff67f708d console.c --- a/console.c Tue May 03 11:14:06 2005 +0000 +++ b/console.c Tue May 03 11:48:55 2005 +0000 @@ -272,6 +272,7 @@ _iconsole_win->height = _screen.height - ICON_BOTTOM_BORDERWIDTH; _iconsole_win->width = _screen.width; break; + default: break; } MarkWholeScreenDirty(); diff -r 9018c946e499 -r ff0ff67f708d console_cmds.c --- a/console_cmds.c Tue May 03 11:14:06 2005 +0000 +++ b/console_cmds.c Tue May 03 11:48:55 2005 +0000 @@ -872,7 +872,7 @@ var = IConsoleVarGet(argv[1]); if (var != NULL && var->help != NULL) { - IConsolePrintF(_iconsole_color_warning, "%s.", var->help); + IConsoleHelp(var->help); return true; }