summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-09-25 19:05:59 +0000
committernicm <nicm@openbsd.org>2019-09-25 19:05:59 +0000
commit2d71b92e138595dbd2fb4cb49ce68d59f4d5f25c (patch)
tree0e369e2f8a1aaa86361eed33d3738d90cd7eae85 /usr.bin/tmux/input.c
parentsync (diff)
downloadwireguard-openbsd-2d71b92e138595dbd2fb4cb49ce68d59f4d5f25c.tar.xz
wireguard-openbsd-2d71b92e138595dbd2fb4cb49ce68d59f4d5f25c.zip
Style and line length nits.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 49c469ef1b0..55253750b41 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.160 2019/09/24 20:44:58 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.161 2019/09/25 19:05:59 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -923,7 +923,8 @@ input_parse_buffer(struct window_pane *wp, u_char *buf, size_t len)
ictx->ch > itr->last) {
itr = ictx->state->transitions;
while (itr->first != -1 && itr->last != -1) {
- if (ictx->ch >= itr->first && ictx->ch <= itr->last)
+ if (ictx->ch >= itr->first &&
+ ictx->ch <= itr->last)
break;
itr++;
}