diff options
author | Alexey Kulakov <panda75@bk.ru> | 2014-04-24 14:55:20 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2014-04-24 14:55:20 +0000 |
commit | c3a168743616db6606702db5ad0fecab4dfee3da (patch) | |
tree | 523ef1399093917f3565d769826ceecb7eb2ef6c /plugins/Utils.pas/mirutils.pas | |
parent | 90ad600cb38a04c9272a3599c72d6559c822b155 (diff) |
Miranda API update
Watrack refactoring, API changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@9068 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils.pas/mirutils.pas')
-rw-r--r-- | plugins/Utils.pas/mirutils.pas | 16 |
1 files changed, 4 insertions, 12 deletions
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;
|