From a1be40263839bf5e2032a4ab244b7942ea4c18f1 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 29 Sep 2024 21:59:07 +0200 Subject: [PATCH] Fix crash with complex keys --- srcs/juloo.keyboard2/KeyValue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java index 8adacf0..b6c09d5 100644 --- a/srcs/juloo.keyboard2/KeyValue.java +++ b/srcs/juloo.keyboard2/KeyValue.java @@ -245,7 +245,7 @@ public final class KeyValue implements Comparable public KeyValue withFlags(int f) { - return new KeyValue(getString(), (_code & KIND_BITS), (_code & VALUE_BITS), f); + return new KeyValue(_payload, (_code & KIND_BITS), (_code & VALUE_BITS), f); } @Override