From 46f5e42145ed34567b29c73032adbd8a41f5dfa2 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 16 Nov 2008 10:10:26 +0000 Subject: Keep stack of previous windows. Check for op (orig_pair) for default colours. --- status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'status.c') diff --git a/status.c b/status.c index bdac3135..0bc77eaf 100644 --- a/status.c +++ b/status.c @@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.49 2008-09-29 17:47:12 nicm Exp $ */ +/* $Id: status.c,v 1.50 2008-11-16 10:10:26 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -277,7 +277,7 @@ status_print(struct session *s, struct winlink *wl, struct grid_cell *gc) char *text, flag; flag = ' '; - if (wl == s->lastw) + if (wl == SLIST_FIRST(&s->lastw)) flag = '-'; if (wl == s->curw) flag = '*'; -- cgit