summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-07-14 20:06:00 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-07-14 20:06:00 +0000
commitc930f8f8e6b90a177fc08609d64587b426bd1311 (patch)
tree432bae3e77965be559ad9ae253fe2e96bbae761b /src
parente2da644c76b8b33a53c24e0193694bea88088439 (diff)
downloadirssi-c930f8f8e6b90a177fc08609d64587b426bd1311.zip
command option/parameter completion was case sensitive (ie. /MSG <tab>
didn't, work, /msg <tab> did) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1624 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/completion.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/core/completion.c b/src/fe-common/core/completion.c
index 16427610..08a538dd 100644
--- a/src/fe-common/core/completion.c
+++ b/src/fe-common/core/completion.c
@@ -483,6 +483,8 @@ static char *line_get_command(const char *line, char **args, int aliases)
*args = (char *) cmdargs;
} while (ptr != NULL);
+ if (cmd != NULL)
+ g_strdown(cmd);
return cmd;
}