csb/caribou/unicode_to_keyval-symbol-check.patch
Willy Sudiarto Raharjo 9224212a72
caribou: Add patch to fix for newer vala.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
2021-01-15 00:06:20 +07:00

13 lines
583 B
Diff

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 {