From 6712169c0f5ae7d973b261ee315de460520caa63 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 1 Apr 2025 17:18:11 +0530 Subject: [PATCH] ... --- gen/wcwidth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/wcwidth.py b/gen/wcwidth.py index 048607d79..e91dd1f6e 100755 --- a/gen/wcwidth.py +++ b/gen/wcwidth.py @@ -781,7 +781,7 @@ class GraphemeSegmentationState(NamedTuple): ): add_to_cell = True # No break before: extending characters or ZWJ (GB9), SpacingMarks (GB9a), Prepend characters (GB9b). - elif prop in ('Extend', 'ZWJ', 'SpacingMark') or prev in 'Prepend': + elif prop in ('Extend', 'ZWJ', 'SpacingMark') or prev == 'Prepend': add_to_cell = True # No break within certain combinations of Indic_Conjunct_Break values # Between consonant {extend|linker}* linker {extend|linker}* and consonant (GB9c).