X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fthread.cc;h=46a50e80cb5992729875d7d56698743ddcf8c3c3;hp=173460084e2ce31cb8e31fc878c0377b1676f9e2;hb=8aeba1228ace947c1b689ae6ae08db5d53755917;hpb=97fadd0645e908ff8322577a983dc710bfda33d6 diff --git a/lib/thread.cc b/lib/thread.cc index 17346008..46a50e80 100644 --- a/lib/thread.cc +++ b/lib/thread.cc @@ -505,7 +505,8 @@ _resolve_thread_relationships (notmuch_thread_t *thread) notmuch_messages_valid (roots); notmuch_messages_move_to_next (roots)) { notmuch_message_t *message = notmuch_messages_get (roots); - if (_notmuch_messages_has_next (roots) || ! _notmuch_message_list_empty (thread->toplevel_list)) + if (_notmuch_messages_has_next (roots) || ! _notmuch_message_list_empty ( + thread->toplevel_list)) _parent_or_toplevel (thread, message); else _notmuch_message_list_add_message (thread->toplevel_list, message);