summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas/mircontacts.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Utils.pas/mircontacts.pas')
-rw-r--r--plugins/Utils.pas/mircontacts.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Utils.pas/mircontacts.pas b/plugins/Utils.pas/mircontacts.pas
index 92dc6074e0..8847ea96f0 100644
--- a/plugins/Utils.pas/mircontacts.pas
+++ b/plugins/Utils.pas/mircontacts.pas
@@ -409,14 +409,14 @@ end;
function WndToContact(wnd:HWND):TMCONTACT;
var
hContact:TMCONTACT;
- mwod:TMessageWindowOutputData;
+ mwod:TMessageWindowData;
begin
- wnd:=GetParent(wnd); //!!
+ wnd:=GetParent(wnd);
hContact:=db_find_first();
while hContact<>0 do
begin
- if CallService(MS_MSG_GETWINDOWDATA,hContact,lparam(@mwod))=0 then
+ if Srmm_GetWindowData(hContact,@mwod)=0 then
begin
if mwod.hwndWindow=wnd then
begin