summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_utils.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-12-16 14:33:05 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-12-16 14:33:05 +0000
commit2bc831c184cced2db6ad62bafc1bd6a75fd84c72 (patch)
tree92e8af06d2dfcb7352de46be5976e1c2cdff3985 /protocols/Skype/src/skype_utils.cpp
parent2ae148d3b9040ab734642ea0bc798bede8a06dfa (diff)
- added SkypeOut contact support
git-svn-id: http://svn.miranda-ng.org/main/trunk@2752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_utils.cpp')
-rw-r--r--protocols/Skype/src/skype_utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Skype/src/skype_utils.cpp b/protocols/Skype/src/skype_utils.cpp
index b7006faab0..a43c621769 100644
--- a/protocols/Skype/src/skype_utils.cpp
+++ b/protocols/Skype/src/skype_utils.cpp
@@ -452,7 +452,7 @@ int CSkypeProto::SkypeToMirandaLoginError(CAccount::LOGOUTREASON logoutReason)
return loginError;
}
-void CSkypeProto::ShowNotification(const wchar_t *sid, const wchar_t *message, int flags)
+void CSkypeProto::ShowNotification(const char *sid, const wchar_t *message, int flags)
{
if (::Miranda_Terminated()) return;
@@ -460,12 +460,12 @@ void CSkypeProto::ShowNotification(const wchar_t *sid, const wchar_t *message, i
MessageBoxW(NULL, message, TranslateT("Skype Protocol"), MB_OK);
else {
if ( !sid)
- sid = L"";
+ sid = "";
POPUPDATAT_V2 ppd = {0};
ppd.cbSize = sizeof(POPUPDATAT_V2);
ppd.lchContact = NULL;
- lstrcpyn(ppd.lpwzContactName, sid, MAX_CONTACTNAME);
+ lstrcpyn(ppd.lpwzContactName, ::mir_a2u(sid), MAX_CONTACTNAME);
lstrcpyn(ppd.lpwzText, message, MAX_SECONDLINE);
ppd.lchIcon = Skin_GetIcon("Skype_main");
ppd.colorBack = ppd.colorText = 0;