diff options
Diffstat (limited to 'pith/flag.c')
-rw-r--r-- | pith/flag.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pith/flag.c b/pith/flag.c index cf0ea39a..b1bbf9c4 100644 --- a/pith/flag.c +++ b/pith/flag.c @@ -594,16 +594,14 @@ set_lflag(MAILSTREAM *stream, MSGNO_S *msgs, long int n, int f, int v) was_invisible = (pelt->hidden || pelt->colhid) ? 1 : 0; - thrd = fetch_thread(stream, rawno); - if((chk_thrd_cnt = ((msgs->visible_threads >= 0L) && THRD_INDX_ENABLED() && (f & MN_HIDE) && (pelt->hidden != v))) != 0){ thrd = fetch_thread(stream, rawno); if(thrd && thrd->top){ - if(top_thread(stream, thrd->top) == thrd->rawno) + if(thrd->top == thrd->rawno) topthrd = thrd; else - topthrd = fetch_thread(stream, top_thread(stream, thrd->top)); + topthrd = fetch_thread(stream, thrd->top); } if(topthrd){ |