summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/historypp.dpr
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus/historypp.dpr')
-rw-r--r--plugins/HistoryPlusPlus/historypp.dpr2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/historypp.dpr b/plugins/HistoryPlusPlus/historypp.dpr
index 45573f1314..2430605be8 100644
--- a/plugins/HistoryPlusPlus/historypp.dpr
+++ b/plugins/HistoryPlusPlus/historypp.dpr
@@ -496,7 +496,7 @@ var
res: Integer;
begin
Result := 0;
- count := CallService(MS_DB_EVENT_GETCOUNT, awParam, 0);
+ count := db_event_count(THandle(awParam));
if (PrevShowHistoryCount xor ShowHistoryCount) or (count <> MenuCount) then
begin
ZeroMemory(@menuitem, SizeOf(menuItem));