diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-07-03 18:16:59 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-07-03 18:16:59 +0000 |
commit | 8ec882fcf4a57256daa439d85d29fcbf3a1d06af (patch) | |
tree | 22e0e9d947fbd61477e741e985cb5e406f6e97e1 /protocols/Skype/src/skype_utils.cpp | |
parent | e06c4679faf776715b47e2c158490d7337ded27a (diff) |
Skype: fixed and improved history synchronization
git-svn-id: http://svn.miranda-ng.org/main/trunk@5222 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_utils.cpp')
-rw-r--r-- | protocols/Skype/src/skype_utils.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/Skype/src/skype_utils.cpp b/protocols/Skype/src/skype_utils.cpp index 8828504333..a84804ba59 100644 --- a/protocols/Skype/src/skype_utils.cpp +++ b/protocols/Skype/src/skype_utils.cpp @@ -349,14 +349,11 @@ void CSkypeProto::ShowNotification(const wchar_t *caption, const wchar_t *messag {
POPUPDATAW ppd = {0};
ppd.lchContact = hContact;
- if ( !hContact)
- {
- ::wcsncpy(ppd.lpwzContactName, caption, MAX_CONTACTNAME);
- }
+ ::wcsncpy(ppd.lpwzContactName, caption, MAX_CONTACTNAME);
::wcsncpy(ppd.lpwzText, message, MAX_SECONDLINE);
ppd.lchIcon = ::Skin_GetIcon("Skype_main");
- if ( !PUAddPopupW(&ppd))
+ if ( !::PUAddPopupW(&ppd))
return;
}
|