diff options
author | Thomas Adam <thomas@xteddy.org> | 2023-01-06 09:02:00 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2023-01-06 09:02:00 +0000 |
commit | 21e00e46359478f95c15f1672e5796e86eb0f529 (patch) | |
tree | 12e23d6fe45d82cdd73373d3b3566bada6fce4f2 /utf8.c | |
parent | 70ff8cfe1e06987501a55a32df31d1f69acd2f99 (diff) | |
parent | 09afc6c8ee971918d925c441c41a9de7f598efb7 (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -233,10 +233,10 @@ 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) return (UTF8_DONE); - log_debug("UTF-8 %.*s, wcwidth() %d", (int)ud->size, ud->data, *width); return (UTF8_ERROR); } |