[caribou/ricotz/vala: 1/5] Fix build with newer valac versions
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [caribou/ricotz/vala: 1/5] Fix build with newer valac versions
- Date: Wed, 20 Jan 2021 22:16:11 +0000 (UTC)
commit 76fbd11575f918fc898cb0f5defe07f67c11ec38
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Jan 20 23:09:38 2021 +0100
Fix build with newer valac versions
Fixes https://gitlab.gnome.org/GNOME/caribou/issues/7
libcaribou/key-model.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]