summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2023-01-06 11:38:41 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2023-01-06 11:38:41 +0000
commit093fb53773ee9b8bd1130e667464cd1f99a16807 (patch)
tree525327bcfe5e7678b7d246e78bd8bbe53a5e1e9f /utf8.c
parent21e00e46359478f95c15f1672e5796e86eb0f529 (diff)
Missing #endif.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utf8.c b/utf8.c
index 604be36f..05ab9cfe 100644
--- a/utf8.c
+++ b/utf8.c
@@ -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)