mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Missing #endif.
This commit is contained in:
1
utf8.c
1
utf8.c
@ -233,6 +233,7 @@ utf8_width(struct utf8_data *ud, int *width)
|
|||||||
*width = utf8proc_wcwidth(wc);
|
*width = utf8proc_wcwidth(wc);
|
||||||
#else
|
#else
|
||||||
*width = wcwidth(wc);
|
*width = wcwidth(wc);
|
||||||
|
#endif
|
||||||
log_debug("UTF-8 %.*s %#x, wcwidth() %d", (int)ud->size, ud->data,
|
log_debug("UTF-8 %.*s %#x, wcwidth() %d", (int)ud->size, ud->data,
|
||||||
(u_int)wc, *width);
|
(u_int)wc, *width);
|
||||||
if (*width >= 0 && *width <= 0xff)
|
if (*width >= 0 && *width <= 0xff)
|
||||||
|
Reference in New Issue
Block a user