aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-14 16:01:27 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-14 16:01:27 +0100
commitc68291f62730d0bc593706fd21f6a41d40e56105 (patch)
treecdf983f5c1ac388eafd6a29af8957efd1f99cbc1
parent6d9b3704f58a9806912ac0a734ac996f96c22b68 (diff)
parent1ef9a69f4fcb503bc2cf1a5901a9ca6eaaae5d44 (diff)
downloadrtmux-c68291f62730d0bc593706fd21f6a41d40e56105.tar.gz
rtmux-c68291f62730d0bc593706fd21f6a41d40e56105.tar.bz2
rtmux-c68291f62730d0bc593706fd21f6a41d40e56105.zip
Merge branch 'obsd-master'
-rw-r--r--cmd-send-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-send-keys.c b/cmd-send-keys.c
index 173d3713..afaf0a81 100644
--- a/cmd-send-keys.c
+++ b/cmd-send-keys.c
@@ -120,7 +120,7 @@ cmd_send_keys_inject_string(struct cmdq_item *item, struct cmdq_item *after,
if (literal) {
ud = utf8_fromcstr(s);
for (uc = ud; uc->size != 0; uc++) {
- if (utf8_combine(uc, &wc) == UTF8_DONE)
+ if (utf8_combine(uc, &wc) != UTF8_DONE)
continue;
after = cmd_send_keys_inject_key(item, after, wc);
}