1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Help files are always lowercased. Make sure /HELP COMMAND works too.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3269 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2004-07-11 21:12:58 +00:00 committed by cras
parent 04b715e6fd
commit d9cc888daa

View File

@ -258,6 +258,7 @@ static void cmd_help(const char *data)
ptr = cmd+strlen(cmd); ptr = cmd+strlen(cmd);
while (ptr[-1] == ' ') ptr--; *ptr = '\0'; while (ptr[-1] == ' ') ptr--; *ptr = '\0';
g_strdown(cmd);
show_help(cmd); show_help(cmd);
g_free(cmd); g_free(cmd);
} }