From 2ac78bccb55e34b5fed3f4336ebf9cb07ee3c21c Mon Sep 17 00:00:00 2001 From: Michael Grant Date: Mon, 8 Dec 2025 15:01:54 +0000 Subject: [PATCH] Bugfix status line at top. --- screen-redraw.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/screen-redraw.c b/screen-redraw.c index 82dcb4c9..9244348f 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -1313,10 +1313,8 @@ screen_redraw_draw_scrollbar(struct screen_redraw_ctx *ctx, int yoff = wp->yoff; struct visible_ranges *vr; - if (ctx->statustop) { - sb_y += ctx->statuslines; + if (ctx->statustop) sy += ctx->statuslines; - } /* Set up style for slider. */ gc = sb_style->gc;