summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console.c1
-rw-r--r--console_cmds.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/console.c b/console.c
index c07fdc447..cc56815c2 100644
--- a/console.c
+++ b/console.c
@@ -272,6 +272,7 @@ void IConsoleResize(void)
_iconsole_win->height = _screen.height - ICON_BOTTOM_BORDERWIDTH;
_iconsole_win->width = _screen.width;
break;
+ default: break;
}
MarkWholeScreenDirty();
diff --git a/console_cmds.c b/console_cmds.c
index d4fe3001a..07104bb8b 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -872,7 +872,7 @@ DEF_CONSOLE_CMD(ConHelp)
var = IConsoleVarGet(argv[1]);
if (var != NULL && var->help != NULL) {
- IConsolePrintF(_iconsole_color_warning, "%s.", var->help);
+ IConsoleHelp(var->help);
return true;
}