diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-12 21:28:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-12 21:28:12 +0000 |
commit | 91eb23f044911477f615e7e25e1425b667c3f1fa (patch) | |
tree | 783ff1dbb6ef98f9a7a7979bff8f9383caee9aa4 /plugins/QuickSearch/sr_window.pas | |
parent | 627687a2d798a8fa4ecbe4578c75d93bf97f6da5 (diff) |
pascal sources sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@4435 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickSearch/sr_window.pas')
-rw-r--r-- | plugins/QuickSearch/sr_window.pas | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas index 97624173ba..de9ba1b634 100644 --- a/plugins/QuickSearch/sr_window.pas +++ b/plugins/QuickSearch/sr_window.pas @@ -526,7 +526,7 @@ begin ST_SERVICE: begin
if wparam._type=ptCurrent then wparam.n:=hContact;
if lparam._type=ptCurrent then lparam.n:=hContact;
- tmp:=CallService(protov,wparam.n,lparam.n);
+ tmp:=uint_ptr(CallService(protov,wparam.n,lparam.n));
if tmp=CALLSERVICE_NOTFOUND then exit;
case setting_cnftype of
ptString: begin
@@ -619,7 +619,7 @@ begin end;
ST_LASTEVENT: begin
- hDbEvent := db_event_last(hContact);
+ hDbEvent:=db_event_last(hContact);
if hDbEvent<>0 then
begin
ZeroMemory(@dbei,sizeof(dbei));
@@ -1190,14 +1190,14 @@ begin // filling buffer
LastMeta:=0;
cnt1:=0;
- hContact:=CallService(MS_DB_CONTACT_FINDFIRST,0,0);
+ hContact:=db_find_first();
while hContact<>0 do
begin
//!! check account
AddContact(cnt1,hContact);
inc(cnt1);
if cnt1=cnt then break; // additional checking
- hContact:=CallService(MS_DB_CONTACT_FINDNEXT,hContact,0);
+ hContact:=db_find_next(hContact);
end;
if cnt1<>cnt then
begin
@@ -1949,7 +1949,7 @@ begin FastWideToAnsiBuf(MainBuf[i,sub].text,buf);
// ListView_GetItemTextA(grid,lplvcd^.nmcd.dwItemSpec,lplvcd^.iSubItem,buf,SizeOf(buf));
-//
+//!!
if (buf[0]<>#0) and (ServiceExists(MS_FP_GETCLIENTICON)<>0) then
begin
h:=CallService(MS_FP_GETCLIENTICON,tlparam(@buf),0);
|