Missing #endif.

pull/3431/head
Nicholas Marriott 2023-01-06 11:38:41 +00:00
parent 21e00e4635
commit 093fb53773
1 changed files with 1 additions and 0 deletions

1
utf8.c
View File

@ -233,6 +233,7 @@ utf8_width(struct utf8_data *ud, int *width)
*width = utf8proc_wcwidth(wc);
#else
*width = wcwidth(wc);
#endif
log_debug("UTF-8 %.*s %#x, wcwidth() %d", (int)ud->size, ud->data,
(u_int)wc, *width);
if (*width >= 0 && *width <= 0xff)