summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-22 22:03:37 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-22 22:03:37 +0000
commit511f95ccafaefe48688f37cbe8c7b0e59d509b41 (patch)
tree3af0aa92d661d71f43d13c796b3d6e6314c44e16 /src/fe-common
parentaec85e1dbdcad457478a02f20baad37753ee3390 (diff)
downloadirssi-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/fe-common')
-rw-r--r--src/fe-common/core/keyboard.c3
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);