diff options
author | Thomas Adam <thomas@xteddy.org> | 2023-01-08 23:27:54 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2023-01-08 23:27:54 +0000 |
commit | 153ae758c92207d34d4fe6f41779cf1ce3213d59 (patch) | |
tree | b1b4aadc9c279cbbf70bfabd5d67070f4b3d40e4 | |
parent | 5086377f30aabcd45f44359b8118ffeeb89da5cb (diff) | |
download | rtmux-153ae758c92207d34d4fe6f41779cf1ce3213d59.tar.gz rtmux-153ae758c92207d34d4fe6f41779cf1ce3213d59.tar.bz2 rtmux-153ae758c92207d34d4fe6f41779cf1ce3213d59.zip |
portable: fixup merge with utf8.c
-rw-r--r-- | utf8.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -230,13 +230,10 @@ utf8_width(struct utf8_data *ud, int *width) return (UTF8_ERROR); } log_debug("UTF-8 %.*s is %08X", (int)ud->size, ud->data, (u_int)wc); -<<<<<<< HEAD #ifdef HAVE_UTF8PROC *width = utf8proc_wcwidth(wc); log_debug("utf8proc_wcwidth(%08X) returned %d", (u_int)wc, *width); #else -======= ->>>>>>> obsd-master *width = wcwidth(wc); log_debug("wcwidth(%08X) returned %d", (u_int)wc, *width); if (*width < 0) { @@ -246,10 +243,7 @@ utf8_width(struct utf8_data *ud, int *width) */ *width = (wc >= 0x80 && wc <= 0x9f) ? 0 : 1; } -<<<<<<< HEAD #endif -======= ->>>>>>> obsd-master if (*width >= 0 && *width <= 0xff) return (UTF8_DONE); return (UTF8_ERROR); |