Skip to content

Commit 5f1619e

Browse files
committed
pv_uni_display: Use utf8_to-uv_or_die not utf8_to_uvchr_buf
1 parent 649e836 commit 5f1619e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utf8.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4795,7 +4795,7 @@ Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim,
47954795
break;
47964796
}
47974797

4798-
u = utf8_to_uvchr_buf(s, e, &next_len);
4798+
u = utf8_to_uv_or_die(s, e, &next_len);
47994799
assert(next_len > 0);
48004800

48014801
if (u < 256) {

0 commit comments

Comments
 (0)