return (1);
}
}
-
+
/* if we have no visible parent or previous sibling, display the subject */
return (1);
}
if (!option (OPTSTRICTTHREADS))
pseudo_threads (ctx);
- ctx->tree = mutt_sort_subthreads (ctx->tree, init);
-
- /* restore the oldsort order. */
- Sort = oldsort;
+ if (ctx->tree)
+ {
+ ctx->tree = mutt_sort_subthreads (ctx->tree, init);
- /* Put the list into an array. */
- linearize_tree (ctx);
+ /* restore the oldsort order. */
+ Sort = oldsort;
+
+ /* Put the list into an array. */
+ linearize_tree (ctx);
- /* Draw the thread tree. */
- mutt_draw_tree (ctx);
+ /* Draw the thread tree. */
+ mutt_draw_tree (ctx);
+ }
}
static HEADER *find_virtual (THREAD *cur, int reverse)