summaryrefslogtreecommitdiffstats
path: root/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'status.c')
-rw-r--r--status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.c b/status.c
index 3ffee331..dbf82c14 100644
--- a/status.c
+++ b/status.c
@@ -516,7 +516,7 @@ status_print(struct session *s, struct winlink *wl, struct grid_cell *gc)
gc->attr = attr;
flag = ' ';
- if (wl == SLIST_FIRST(&s->lastw))
+ if (wl == TAILQ_FIRST(&s->lastw))
flag = '-';
if (wl == s->curw) {
fg = options_get_number(oo, "window-status-current-fg");