(svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands
--- 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();
--- 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;
}