From 5ced0d0fb5fb49248c87150acaa92dce47a29da3 Mon Sep 17 00:00:00 2001 From: Joshua Horton Date: Thu, 14 May 2026 22:48:44 +0700 Subject: [PATCH] fix(web): apply logic fix from suggestion Co-authored-by: Eberhard Beilharz --- .../worker-thread/src/main/correction/tokenization-corrector.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/engine/predictive-text/worker-thread/src/main/correction/tokenization-corrector.ts b/web/src/engine/predictive-text/worker-thread/src/main/correction/tokenization-corrector.ts index 720db56ac8..a8b229f67b 100644 --- a/web/src/engine/predictive-text/worker-thread/src/main/correction/tokenization-corrector.ts +++ b/web/src/engine/predictive-text/worker-thread/src/main/correction/tokenization-corrector.ts @@ -279,7 +279,7 @@ export class TokenizationCorrector implements CorrectionSearchable { - if(correctionIsThePredictable) { + if(!correctionIsThePredictable) { // Lock the 'correctable' token now that either a valid correction for // it has been found or all possible corrections are exhausted. We only // consider a single correction for most of a tokenization's tokens,