From e18c10d340ae92559b5bf8a50ffdf7612b526003 Mon Sep 17 00:00:00 2001 From: Dane Jensen Date: Mon, 27 Apr 2026 19:59:12 -0700 Subject: [PATCH] Passing in '&type' to avoid null dereference --- screen-redraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen-redraw.c b/screen-redraw.c index 066bc94f..8fd9839e 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -974,7 +974,7 @@ screen_redraw_draw_border_arrows(struct screen_redraw_ctx *ctx, u_int i, } if ((int)j == wp->yoff + 1) { if (border == SCREEN_REDRAW_OUTSIDE) { - if (screen_redraw_two_panes(wp->window, 0)) { + if (screen_redraw_two_panes(wp->window, &type)) { if (active == TAILQ_FIRST(&w->panes)) border = SCREEN_REDRAW_BORDER_RIGHT; else