From 7f4513ec34862805b06b2ff776785a36fdfec796 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 5 Feb 2018 08:21:54 +0000 Subject: Add struct status_line to hold status line members of struct client, not used yet but will be soon. From Thomas Adam. --- window-client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'window-client.c') diff --git a/window-client.c b/window-client.c index 76e536ec..aae9e0b4 100644 --- a/window-client.c +++ b/window-client.c @@ -229,10 +229,10 @@ window_client_draw(__unused void *modedata, void *itemdata, screen_write_hline(ctx, sx, 0, 0); screen_write_cursormove(ctx, cx, cy + sy - 1); - if (c->old_status != NULL) - screen_write_fast_copy(ctx, c->old_status, 0, 0, sx, 1); + if (c->status.old_status != NULL) + screen_write_fast_copy(ctx, c->status.old_status, 0, 0, sx, 1); else - screen_write_fast_copy(ctx, &c->status, 0, 0, sx, 1); + screen_write_fast_copy(ctx, &c->status.status, 0, 0, sx, 1); } static struct screen * -- cgit