X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fquery.cc;h=4b4c80f4d5f952d3340ce495c1c2583b984d76ca;hb=e4a7c2b8703280e93b205965d7df1b7dda8a0bf7;hp=2169709c7ddcb57980691287670e9cb038c7d151;hpb=523f1ce0a5e1cbe62dc9b879f224d6b60631322f;p=notmuch diff --git a/lib/query.cc b/lib/query.cc index 2169709c..4b4c80f4 100644 --- a/lib/query.cc +++ b/lib/query.cc @@ -218,7 +218,7 @@ notmuch_query_search_threads (notmuch_query_t *query, thread_id, NULL, (void **) &thread)) { - if (threads_seen > first) { + if (threads_seen >= first) { thread = _notmuch_thread_create (query, query->notmuch, thread_id); g_ptr_array_add (threads->threads, thread);