diff options
author | Josep Torra <n770galaxy@gmail.com> | 2013-01-07 20:04:36 +0100 |
---|---|---|
committer | Josep Torra <n770galaxy@gmail.com> | 2013-01-07 20:04:36 +0100 |
commit | 08b6f85328c40bd8c9224d289824ff17d26120d7 (patch) | |
tree | 2802886f50d381bfb63b3e31a517d8f8082730bb | |
parent | d50537da581540d6c6d302882c689ee6e24a41cc (diff) |
-rw-r--r-- | patches/gtk2/g2main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/gtk2/g2main.c b/patches/gtk2/g2main.c index 2405bb3..8df1185 100644 --- a/patches/gtk2/g2main.c +++ b/patches/gtk2/g2main.c @@ -490,7 +490,7 @@ static const char *uiDescription = static void command_activated (GtkWidget * action, gpointer command) { - if (GPOINTER_TO_INT (command) == 0xffffffb2) { + if (!strcmp (action->name, "Twoweapons")) { /* Workaround to handle Twoweapons extended command */ keyBuffer = g_slist_append (keyBuffer, GINT_TO_POINTER ('#')); keyBuffer = g_slist_append (keyBuffer, GINT_TO_POINTER ('t')); |