diff options
author | Darkvater <darkvater@openttd.org> | 2005-05-03 11:48:55 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-05-03 11:48:55 +0000 |
commit | ad6b37a423945c4eac7292e57b9289d3200b6633 (patch) | |
tree | e45909a50411d27ee115ef34a94b22b8fdbe0835 | |
parent | a1e27b16061ddf1c00ea38473d3783675b95314b (diff) | |
download | openttd-ad6b37a423945c4eac7292e57b9289d3200b6633.tar.xz |
(svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands
-rw-r--r-- | console.c | 1 | ||||
-rw-r--r-- | console_cmds.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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; } |