As Martin pointed out, we were comparing the wrong variable against our

modifier mask (and using the wrong bitwise operator to boot).

svn path=/trunk/; revision=21937
This commit is contained in:
Gerald Combs 2007-05-25 17:24:35 +00:00
parent 9e7615967b
commit b6408d1673
1 changed files with 1 additions and 1 deletions

View File

@ -4279,7 +4279,7 @@ top_level_key_pressed_cb(GtkCTree *ctree _U_, GdkEventKey *event, gpointer user_
} else if (event->keyval == GDK_F7) {
packet_list_prev();
return TRUE;
} else if (event->keyval | NO_SHIFT_MOD_MASK) {
} else if (event->state & NO_SHIFT_MOD_MASK) {
return FALSE; /* Skip control, alt, and other modifiers */
/*
* A comment in gdkkeysyms.h says that it's autogenerated from