diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-11-16 10:10:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-11-16 10:10:26 +0000 |
commit | 46f5e42145ed34567b29c73032adbd8a41f5dfa2 (patch) | |
tree | c084d02f1886fb187d9c34977f45f59ea3d896ab /status.c | |
parent | 1425738790052e53211f8c38054f49eaf54cb644 (diff) | |
download | rtmux-46f5e42145ed34567b29c73032adbd8a41f5dfa2.tar.gz rtmux-46f5e42145ed34567b29c73032adbd8a41f5dfa2.tar.bz2 rtmux-46f5e42145ed34567b29c73032adbd8a41f5dfa2.zip |
Keep stack of previous windows.
Check for op (orig_pair) for default colours.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <nicm@users.sourceforge.net> @@ -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 = '*'; |