17 lines
731 B
Diff
17 lines
731 B
Diff
Patch from
|
|
https://github.com/archlinux/svntogit-packages/blob/bf8285526628664f46c1b790238c6e3555e51499/trunk/unicode_to_keyval-symbol-check.patch
|
|
|
|
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 {
|