Changeset - r16329:3aa9c85beee1
[Not reviewed]
master
0 2 0
rubidium - 14 years ago 2010-10-27 20:52:43
rubidium@openttd.org
(svn r21050) -Fix (r20515): ignore underscores as well for help messages
2 files changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/console_cmds.cpp
Show inline comments
 
@@ -1338,6 +1338,7 @@ DEF_CONSOLE_CMD(ConHelp)
 
		const IConsoleCmd *cmd;
 
		const IConsoleAlias *alias;
 

	
 
		RemoveUnderscores(argv[1]);
 
		cmd = IConsoleCmdGet(argv[1]);
 
		if (cmd != NULL) {
 
			cmd->proc(0, NULL);
src/console_internal.h
Show inline comments
 
@@ -83,5 +83,6 @@ bool GetArgumentInteger(uint32 *value, c
 
void IConsoleGUIInit();
 
void IConsoleGUIFree();
 
void IConsoleGUIPrint(ConsoleColour colour_code, char *string);
 
char *RemoveUnderscores(char *name);
 

	
 
#endif /* CONSOLE_INTERNAL_H */
0 comments (0 inline, 0 general)