diff options
author | nicm <nicm> | 2015-11-14 11:45:43 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-11-14 11:45:43 +0000 |
commit | 205d15e82d9e4aa90c7980b509d3489ad8eb6c2a (patch) | |
tree | df0a0b3b1181ca5822722638eae32721d7711463 /input-keys.c | |
parent | f401791a5689799ddf3cfa6ecee7da60318febf7 (diff) | |
download | rtmux-205d15e82d9e4aa90c7980b509d3489ad8eb6c2a.tar.gz rtmux-205d15e82d9e4aa90c7980b509d3489ad8eb6c2a.tar.bz2 rtmux-205d15e82d9e4aa90c7980b509d3489ad8eb6c2a.zip |
All these return values from utf8_* are confusing, use an enum.
Diffstat (limited to 'input-keys.c')
-rw-r--r-- | input-keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input-keys.c b/input-keys.c index 3938c185..156cbe6a 100644 --- a/input-keys.c +++ b/input-keys.c @@ -169,7 +169,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); |