From: Thomas Roessler Date: Mon, 17 Jul 2000 07:27:43 +0000 (+0000) Subject: Fix #192. X-Git-Tag: mutt-1-3-6-rel~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc05e7056743fd5163f3aae796f8c5e08c878215;p=mutt Fix #192. --- diff --git a/curs_main.c b/curs_main.c index e114f14d..b92429ac 100644 --- a/curs_main.c +++ b/curs_main.c @@ -1425,7 +1425,13 @@ int mutt_index_menu (void) case OP_MAIN_COLLAPSE_THREAD: CHECK_MSGCOUNT; - + + if ((Sort & SORT_MASK) != SORT_THREADS) + { + mutt_error _("Threading is not enabled."); + break; + } + if (CURHDR->collapsed) { menu->current = mutt_uncollapse_thread (Context, CURHDR);