summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/utf8.c')
-rw-r--r--usr.bin/tmux/utf8.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/utf8.c b/usr.bin/tmux/utf8.c
index 7caf1a7a526..a7685a32cdd 100644
--- a/usr.bin/tmux/utf8.c
+++ b/usr.bin/tmux/utf8.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: utf8.c,v 1.24 2015/11/14 12:03:23 nicm Exp $ */
+/* $OpenBSD: utf8.c,v 1.25 2015/11/20 22:02:54 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -355,6 +355,7 @@ utf8_set(struct utf8_data *ud, u_char ch)
u_int i;
*ud->data = ch;
+ ud->have = 1;
ud->size = 1;
ud->width = 1;