diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-10-20 22:17:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-10-20 22:17:33 +0000 |
commit | 9afb0d739e96a8b5a8ac4a2ae19803443135d0e2 (patch) | |
tree | 79b49521ea7e17ac7e2761990d43fc67fab5bf5b | |
parent | 6f2169037ecbadef09520e50ec4f2ef029f097a9 (diff) | |
download | rtmux-9afb0d739e96a8b5a8ac4a2ae19803443135d0e2.tar.gz rtmux-9afb0d739e96a8b5a8ac4a2ae19803443135d0e2.tar.bz2 rtmux-9afb0d739e96a8b5a8ac4a2ae19803443135d0e2.zip |
%zu not %u, doh.
-rw-r--r-- | input.c | 2 | ||||
-rw-r--r-- | utf8.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -590,7 +590,7 @@ input_handle_character(u_char ch, struct input_ctx *ictx) if (ch > 0x7f && options_get_number(&wp->window->options, "utf8")) { if (utf8_open(&ictx->utf8data, ch)) { - log_debug2("-- utf8 size %u: %zu: %hhu (%c)", + log_debug2("-- utf8 size %zu: %zu: %hhu (%c)", ictx->utf8data.size, ictx->off, ch, ch); input_state(ictx, input_state_utf8); return; @@ -227,7 +227,7 @@ utf8_open(struct utf8_data *utf8data, u_char ch) /* * Append character to UTF-8, closing if finished. * - * Returns 1 if more UTF-8 data to come, 1 if finished. + * Returns 1 if more UTF-8 data to come, 0 if finished. */ int utf8_append(struct utf8_data *utf8data, u_char ch) |