summaryrefslogtreecommitdiffstats
path: root/input-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-11-14 12:01:09 +0000
committerThomas Adam <thomas@xteddy.org>2015-11-14 12:01:09 +0000
commitf12d7f0d4b4a474acbdec0023156a6a647aa7763 (patch)
tree3b82cd796b067638932a9f2432b8a64ecf55f7f7 /input-keys.c
parent7b4b78b41943082663ba75c7dcfb4e2efa86f4c7 (diff)
parent205d15e82d9e4aa90c7980b509d3489ad8eb6c2a (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input-keys.c b/input-keys.c
index f8d72124..1e2af6d1 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -168,7 +168,7 @@ input_key(struct window_pane *wp, key_code key, struct mouse_event *m)
return;
}
if (key != KEYC_NONE && justkey > 0x7f && justkey < KEYC_BASE) {
- if (utf8_split(justkey, &ud) != 0)
+ if (utf8_split(justkey, &ud) != UTF8_DONE)
return;
if (key & KEYC_ESCAPE)
bufferevent_write(wp->event, "\033", 1);