mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Sync OpenBSD patchset 424:
%zu not %u, doh.
This commit is contained in:
4
input.c
4
input.c
@ -1,4 +1,4 @@
|
||||
/* $Id: input.c,v 1.98 2009-10-23 17:16:24 tcunha Exp $ */
|
||||
/* $Id: input.c,v 1.99 2009-10-23 17:21:34 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -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;
|
||||
|
Reference in New Issue
Block a user