aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/query.cc2
1 files changed, 1 insertions, 1 deletions
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);