diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2021-01-20 23:09:38 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2021-01-20 23:15:31 +0100 |
commit | 76fbd11575f918fc898cb0f5defe07f67c11ec38 (patch) | |
tree | 48481043c5e78f94b9e74bda8bfe18c73650e680 | |
parent | cf18947ba079f9a4649a803f53d0400688931e77 (diff) | |
download | caribou-76fbd11575f918fc898cb0f5defe07f67c11ec38.tar.gz |
Fix build with newer valac versions
Fixes https://gitlab.gnome.org/GNOME/caribou/issues/7
-rw-r--r-- | libcaribou/key-model.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaribou/key-model.vala b/libcaribou/key-model.vala index 89015bc..e88342e 100644 --- a/libcaribou/key-model.vala +++ b/libcaribou/key-model.vala @@ -101,7 +101,7 @@ namespace Caribou { unichar uc; while (text.get_next_char (ref index, out uc)) { uint keyval = Gdk.unicode_to_keyval (uc); - if (keyval != uc | 0x01000000) + if (keyval != (uc | 0x01000000)) _keyvals += keyval; } } else { |