diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-22 22:03:37 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-22 22:03:37 +0000 |
commit | 511f95ccafaefe48688f37cbe8c7b0e59d509b41 (patch) | |
tree | 3af0aa92d661d71f43d13c796b3d6e6314c44e16 /src | |
parent | aec85e1dbdcad457478a02f20baad37753ee3390 (diff) | |
download | irssi-511f95ccafaefe48688f37cbe8c7b0e59d509b41.zip |
Ignore case when checking key names.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@509 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/keyboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/core/keyboard.c b/src/fe-common/core/keyboard.c index 7554bfa0..f33560f3 100644 --- a/src/fe-common/core/keyboard.c +++ b/src/fe-common/core/keyboard.c @@ -23,6 +23,7 @@ #include "signals.h" #include "commands.h" #include "levels.h" +#include "misc.h" #include "lib-config/iconfig.h" #include "settings.h" @@ -325,7 +326,7 @@ static void cmd_bind(const char *data) void keyboard_init(void) { - keys = g_hash_table_new((GHashFunc) g_str_hash, (GCompareFunc) g_str_equal); + keys = g_hash_table_new((GHashFunc) g_istr_hash, (GCompareFunc) g_istr_equal); keyinfos = NULL; key_bind("command", "Run any IRC command", NULL, NULL, (SIGNAL_FUNC) sig_command); |