From 511f95ccafaefe48688f37cbe8c7b0e59d509b41 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 22 Jul 2000 22:03:37 +0000 Subject: [PATCH] Ignore case when checking key names. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@509 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/keyboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);