(svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands
authorDarkvater
Tue, 03 May 2005 11:48:55 +0000
changeset 1755 9f0136447beb
parent 1754 e027592e6b67
child 1756 cf2c7fb6bce8
(svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands
console.c
console_cmds.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();
--- 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;
    	}