summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/HistoryForm.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus/HistoryForm.pas')
-rw-r--r--plugins/HistoryPlusPlus/HistoryForm.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/HistoryForm.pas b/plugins/HistoryPlusPlus/HistoryForm.pas
index 3cec81369e..218f404be5 100644
--- a/plugins/HistoryPlusPlus/HistoryForm.pas
+++ b/plugins/HistoryPlusPlus/HistoryForm.pas
@@ -2109,7 +2109,7 @@ begin
Sessions[idx].TimestampLast := 0;
Exit;
end;
- hDBEvent := db_event_next(hDBEvent);
+ hDBEvent := db_event_next(hContact,hDBEvent);
if hDBEvent <> 0 then
begin
Sessions[idx].hDBEventFirst := hDBEvent;