Skip to content

Commit e59ecb6

Browse files
committed
typo
1 parent 60e1f9e commit e59ecb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/_input_ucs.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cdef inline int encode_utf8(SourceData *source_data, Codepoint v) nogil:
2525
return (codepoint>>12) | 0xE0
2626

2727
elif (Codepoint is uint32_t) or (codepoint < 0x110000):
28-
source_data.sub_remaining = 2
28+
source_data.sub_remaining = 3
2929
source_data.sub_string[0] = (codepoint & 0x3F) | 0x80
3030
source_data.sub_string[1] = ((codepoint >> 6) & 0x3F) | 0x80
3131
source_data.sub_string[2] = ((codepoint >> 12) & 0x3F) | 0x80

0 commit comments

Comments
 (0)