Skip to content

Commit 6712169

Browse files
committed
...
1 parent 057dde3 commit 6712169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gen/wcwidth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ def add_to_current_cell(self, p: GraphemeSegmentationProps) -> 'GraphemeSegmenta
781781
):
782782
add_to_cell = True
783783
# No break before: extending characters or ZWJ (GB9), SpacingMarks (GB9a), Prepend characters (GB9b).
784-
elif prop in ('Extend', 'ZWJ', 'SpacingMark') or prev in 'Prepend':
784+
elif prop in ('Extend', 'ZWJ', 'SpacingMark') or prev == 'Prepend':
785785
add_to_cell = True
786786
# No break within certain combinations of Indic_Conjunct_Break values
787787
# Between consonant {extend|linker}* linker {extend|linker}* and consonant (GB9c).

0 commit comments

Comments
 (0)