From 406ae3d8a69308ac4bb40692481967b9546751bd Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 20 May 2026 09:46:38 +0100 Subject: [PATCH] Remove some trivial differences. --- screen-redraw.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/screen-redraw.c b/screen-redraw.c index c34b633e..745c30c5 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -115,7 +115,6 @@ screen_redraw_two_panes(struct window *w, enum layout_type *type) } if (count <= 1) return (0); - return (1); } @@ -920,7 +919,7 @@ screen_redraw_draw_border_arrows(struct screen_redraw_ctx *ctx, int i, if (wp == NULL) return; - if ((int)i != wp->xoff + 1 && (int)j != wp->yoff + 1) + if (i != wp->xoff + 1 && j != wp->yoff + 1) return; value = options_get_number(oo, "pane-border-indicators"); @@ -931,7 +930,7 @@ screen_redraw_draw_border_arrows(struct screen_redraw_ctx *ctx, int i, if (border == SCREEN_REDRAW_INSIDE) return; - if ((int)i == wp->xoff + 1) { + if (i == wp->xoff + 1) { if (border == SCREEN_REDRAW_OUTSIDE) { if (screen_redraw_two_panes(wp->window, &type)) { if (active == TAILQ_FIRST(&w->panes)) @@ -951,7 +950,7 @@ screen_redraw_draw_border_arrows(struct screen_redraw_ctx *ctx, int i, arrows = 1; } } - if ((int)j == wp->yoff + 1) { + if (j == wp->yoff + 1) { if (border == SCREEN_REDRAW_OUTSIDE) { if (screen_redraw_two_panes(wp->window, &type)) { if (active == TAILQ_FIRST(&w->panes))