Skip to content

Commit 711c8ba

Browse files
committed
locale.c: Use utf8_to-uv_or_die not utf8_to_uvchr_buf
1 parent ff1b5e0 commit 711c8ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locale.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ S_get_displayable_string(pTHX_
945945

946946
while (t < e) {
947947
UV cp = (is_utf8)
948-
? utf8_to_uvchr_buf((U8 *) t, e, NULL)
948+
? utf8_to_uv_or_die((const U8 *) t, (const U8 *) e, NULL)
949949
: * (U8 *) t;
950950
if (isPRINT(cp)) {
951951
if (! prev_was_printable) {

0 commit comments

Comments
 (0)