diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-10-02 18:11:53 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-10-02 18:13:57 +0200 |
commit | 3bdc9d7b3a9cec491e30668b25061ff9d2d084e7 (patch) | |
tree | 8958bfb496269c35eef379e7faac969b32e281f9 /gtk/gtkimcontextsimple.c | |
parent | 604da889ea077d4d23327340713be32fba4261d0 (diff) | |
download | gtk+-3bdc9d7b3a9cec491e30668b25061ff9d2d084e7.tar.gz |
imcontext: Fix typo on ctrl+shift+u hex sequences handling
This condition was meant to exit when the event has no keyval (eg. fed a
non-keyboard event somehow).
Diffstat (limited to 'gtk/gtkimcontextsimple.c')
-rw-r--r-- | gtk/gtkimcontextsimple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index cfc7b69471..06bdfb4160 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -1102,7 +1102,7 @@ canonical_hex_keyval (GdkEventKey *event) gint n_vals = 0; gint i; - if (gdk_event_get_keyval ((GdkEvent *) event, &event_keyval)) + if (!gdk_event_get_keyval ((GdkEvent *) event, &event_keyval)) return 0; /* See if the keyval is already a hex digit */ |