projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
523f1ce
)
notmuch search: Fix a second bug in the change to support incremental searches.
author
Carl Worth
<cworth@cworth.org>
Fri, 13 Nov 2009 04:12:16 +0000
(20:12 -0800)
committer
Carl Worth
<cworth@cworth.org>
Fri, 13 Nov 2009 04:12:16 +0000
(20:12 -0800)
The search was dropping the first thread from the results.
When am I going to break down and write a test suite? It's long
overdue now.
lib/query.cc
patch
|
blob
|
history
diff --git
a/lib/query.cc
b/lib/query.cc
index 2169709c7ddcb57980691287670e9cb038c7d151..4b4c80f4d5f952d3340ce495c1c2583b984d76ca 100644
(file)
--- 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);