From b4ba7b0a3c5be36050ef0deb68a6b19fd46f501e Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Sun, 22 Feb 2009 00:19:57 -0800 Subject: [PATCH] Don't push bell/monitor attributes onto stack without removing. --- src/process.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/process.c b/src/process.c index 66e7cd4..71c69e1 100644 --- a/src/process.c +++ b/src/process.c @@ -5358,6 +5358,12 @@ int where; *s++ = ' '; *s++ = ' '; } + if (p->w_number == where) + { + ss = s; + if (flags & 8) + break; + } if (!(flags & 4) || where < 0 || ((flags & 4) && where < p->w_number)) { if (p->w_monitor == MON_DONE && renditions[REND_MONITOR] != -1) @@ -5368,12 +5374,6 @@ int where; if (rend != -1) AddWinMsgRend(s, rend); sprintf(s, "%d", p->w_number); - if (p->w_number == where) - { - ss = s; - if (flags & 8) - break; - } s += strlen(s); if (display && p == D_fore) *s++ = '*'; -- 2.11.4.GIT