From 2bbb9971bf1711850504d93828f571e27147abc7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 30 Mar 2013 20:10:26 +0000 Subject: 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 --- plugins/QuickSearch/sr_window.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/QuickSearch') diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas index 5306c44968..97624173ba 100644 --- a/plugins/QuickSearch/sr_window.pas +++ b/plugins/QuickSearch/sr_window.pas @@ -619,12 +619,12 @@ begin end; ST_LASTEVENT: begin - hDbEvent:=CallService(MS_DB_EVENT_FINDLAST,hContact,0); + hDbEvent := db_event_last(hContact); if hDbEvent<>0 then begin ZeroMemory(@dbei,sizeof(dbei)); dbei.cbSize:=SizeOf(dbei); - CallService(MS_DB_EVENT_GET,hDbEvent,tlparam(@dbei)); + db_event_get(hDbEvent, @dbei); res.data:=dbei.timestamp; res.text:=TimeToStrW(res.data); end -- cgit v1.2.3