summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_searchthread.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_searchthread.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_searchthread.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_searchthread.pas b/plugins/HistoryPlusPlus/hpp_searchthread.pas
index 88637c039b..6d850ddf5e 100644
--- a/plugins/HistoryPlusPlus/hpp_searchthread.pas
+++ b/plugins/HistoryPlusPlus/hpp_searchthread.pas
@@ -428,7 +428,7 @@ begin
begin
if SearchEvent(hDBEvent) then
SendItem(hDBEvent);
- hDBEvent := db_event_prev(hDBEvent);
+ hDBEvent := db_event_prev(Contact, hDBEvent);
end;
SendBatch;
end;