From 6e75b1d11548c061178f491b0a1876d29b4e04e7 Mon Sep 17 00:00:00 2001 From: Willem Date: Thu, 23 Jan 2025 15:36:43 +0100 Subject: [PATCH] Fixed untested sand walking bit size count only the one's as step --- .../main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java b/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java index 6166e47..d413039 100644 --- a/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java +++ b/nx01-x4o-fc18/src/main/java/org/x4o/fc18/zion7/FourCornerZionStenoLexer.java @@ -313,10 +313,10 @@ public class FourCornerZionStenoLexer { lexer.smokeSignals.burnSandWormSignOutOfOrder(lexer.currLine, lexer.currCol); return; } - bitSize++; bitIdxLast = bitIdx; int bitOff = bitIdx - FourCornerDotCake.FC_SAND_OLGOI.getStart(); sandWalking[bitOff] = 1; + bitSize = bitOff; } lexer.sandwormHead.clear(); PrimitiveIterator.OfInt i = Arrays.stream(sandWalking).iterator();