From b588b1729ad9668a60d402d549506e56d72f1919 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 16 Mar 2019 19:12:13 +0000 Subject: Use a pointer for the active screen in the status line instead of copying them around all the time. --- screen-redraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'screen-redraw.c') diff --git a/screen-redraw.c b/screen-redraw.c index e8a62ea5..9880433d 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -569,7 +569,7 @@ screen_redraw_draw_status(struct screen_redraw_ctx *ctx) struct client *c = ctx->c; struct window *w = c->session->curw->window; struct tty *tty = &c->tty; - struct screen *s = &c->status.screen; + struct screen *s = c->status.active; u_int i, y; log_debug("%s: %s @%u", __func__, c->name, w->id); -- cgit