From c3a168743616db6606702db5ad0fecab4dfee3da Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Thu, 24 Apr 2014 14:55:20 +0000 Subject: Miranda API update Watrack refactoring, API changes git-svn-id: http://svn.miranda-ng.org/main/trunk@9068 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Utils.pas/mirutils.pas | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'plugins/Utils.pas/mirutils.pas') diff --git a/plugins/Utils.pas/mirutils.pas b/plugins/Utils.pas/mirutils.pas index 1f79cc1d4e..918f615390 100644 --- a/plugins/Utils.pas/mirutils.pas +++ b/plugins/Utils.pas/mirutils.pas @@ -285,19 +285,11 @@ begin exit; FillChar(ppdu,SizeOf(TPOPUPDATAW),0); - if CallService(MS_POPUP_ISSECONDLINESHOWN,0,0)<>0 then - begin - StrCopyW(ppdu.lpwzText,text,MAX_SECONDLINE-1); - if title<>nil then - StrCopyW(ppdu.lpwzContactName,title,MAX_CONTACTNAME-1) - else - ppdu.lpwzContactName[0]:=' '; - end + StrCopyW(ppdu.lpwzText,text,MAX_SECONDLINE-1); + if title<>nil then + StrCopyW(ppdu.lpwzContactName,title,MAX_CONTACTNAME-1) else - begin - StrCopyW(ppdu.lpwzContactName,text,MAX_CONTACTNAME-1); - ppdu.lpwzText[0]:=' '; - end; + ppdu.lpwzContactName[0]:=' '; CallService(MS_POPUP_ADDPOPUPW,wparam(@ppdu),APF_NO_HISTORY); end; -- cgit v1.2.3