From bbd1032a2a6d76cacaaf729a4b465ec7ca24eef7 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 25 Sep 2019 19:05:59 +0000 Subject: [PATCH] Style and line length nits. --- input.c | 3 ++- window-tree.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/input.c b/input.c index 2ff7a65d..d76216f4 100644 --- a/input.c +++ b/input.c @@ -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++; } diff --git a/window-tree.c b/window-tree.c index a0127c2f..cc16f274 100644 --- a/window-tree.c +++ b/window-tree.c @@ -269,7 +269,7 @@ window_tree_cmp_pane(const void *a0, const void *b0) result = (*a)->id - (*b)->id; } if (window_tree_sort->reversed) - result *= -1; + result = -result; return (result); }