diff options
author | nicm <nicm> | 2019-03-16 19:12:13 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-03-16 19:12:13 +0000 |
commit | b588b1729ad9668a60d402d549506e56d72f1919 (patch) | |
tree | 97cb3d5f7803fbc220b1b88bf58e7d1b786b0d29 /screen-redraw.c | |
parent | 818fda03638e5001209886ddcd12b401c23dffae (diff) | |
download | rtmux-b588b1729ad9668a60d402d549506e56d72f1919.tar.gz rtmux-b588b1729ad9668a60d402d549506e56d72f1919.tar.bz2 rtmux-b588b1729ad9668a60d402d549506e56d72f1919.zip |
Use a pointer for the active screen in the status line instead of
copying them around all the time.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r-- | screen-redraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |