summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_services.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-30 20:10:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-30 20:10:26 +0000
commit2bbb9971bf1711850504d93828f571e27147abc7 (patch)
tree58d7b09d4a5f89f3990fff0ddd98c562e37b122c /plugins/HistoryPlusPlus/hpp_services.pas
parent53bb473ba5f24175ac124098dac69df6ca3570a3 (diff)
MS_DB_EVENT_* services' calls removed from pascal sources
git-svn-id: http://svn.miranda-ng.org/main/trunk@4262 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_services.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_services.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_services.pas b/plugins/HistoryPlusPlus/hpp_services.pas
index 6b2d2310d7..84944c3c40 100644
--- a/plugins/HistoryPlusPlus/hpp_services.pas
+++ b/plugins/HistoryPlusPlus/hpp_services.pas
@@ -197,12 +197,12 @@ begin
if Assigned(POpenEventParams(wParam)) then
begin
oep := POpenEventParams(wParam)^;
- hDbEvent := CallService(MS_DB_EVENT_FINDLAST, oep.hContact, 0);
+ hDbEvent := db_event_last(oep.hContact);
item := 0;
sel := -1;
while (hDbEvent <> oep.hDbEvent) and (hDbEvent <> 0) do
begin
- hDbEvent := CallService(MS_DB_EVENT_FINDPREV, hDbEvent, 0);
+ hDbEvent := db_event_prev(hDbEvent);
Inc(item);
end;
if hDbEvent = oep.hDbEvent then