summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_external.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_external.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_external.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_external.pas b/plugins/HistoryPlusPlus/hpp_external.pas
index 39eeff99fd..5c61e363fb 100644
--- a/plugins/HistoryPlusPlus/hpp_external.pas
+++ b/plugins/HistoryPlusPlus/hpp_external.pas
@@ -177,7 +177,7 @@ begin
not boolean(event.dwFlags and IEEF_NO_SCROLLING));
if eventCount > 0 then Dec(eventCount);
if eventCount <> 0 then
- hDBNext := db_event_next(hDBNext);
+ hDBNext := db_event_next(event.hContact,hDBNext);
end;
ExtGrid.EndUpdate;
end;