mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-08 23:34:15 +00:00
(svn r21050) -Fix (r20515): ignore underscores as well for help messages
This commit is contained in:
parent
6e9bafa54a
commit
c311f18ba4
@ -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);
|
||||
|
@ -83,5 +83,6 @@ bool GetArgumentInteger(uint32 *value, const char *arg);
|
||||
void IConsoleGUIInit();
|
||||
void IConsoleGUIFree();
|
||||
void IConsoleGUIPrint(ConsoleColour colour_code, char *string);
|
||||
char *RemoveUnderscores(char *name);
|
||||
|
||||
#endif /* CONSOLE_INTERNAL_H */
|
||||
|
Loading…
Reference in New Issue
Block a user