summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-10-21 10:45:02 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-10-21 10:45:02 +0000
commit66f05dca3699dec5a7ab94ae4eaaf9d9aeda376a (patch)
tree041ace32d738974b310ae50e8e81b17ee27b2f9f /protocols
parent9306d732027781d6e6cbcc02f6fc5e1765a88bf7 (diff)
fixed contact information
git-svn-id: http://svn.miranda-ng.org/main/trunk@2013 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Skype/src/skype_contacts.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/Skype/src/skype_contacts.cpp b/protocols/Skype/src/skype_contacts.cpp
index 2353bbd004..d24f7d01fe 100644
--- a/protocols/Skype/src/skype_contacts.cpp
+++ b/protocols/Skype/src/skype_contacts.cpp
@@ -98,7 +98,7 @@ void CSkypeProto::UpdateContactCity(HANDLE hContact, CContact::Ref contact)
{
SEString data;
contact->GetPropCity(data);
- wchar_t* city = ::mir_a2u((const char*)data);
+ wchar_t* city = ::mir_utf8decodeW((const char*)data);
if (wcscmp(city, L"") == 0)
this->DeleteSetting(hContact, "City");
else
@@ -120,7 +120,7 @@ void CSkypeProto::UpdateContactEmails(HANDLE hContact, CContact::Ref contact)
{
SEString data;
contact->GetPropEmails(data);
- wchar_t* emails = ::mir_a2u((const char*)data);
+ wchar_t* emails = ::mir_utf8decodeW((const char*)data);
if (wcscmp(emails, L"") == 0)
{
this->DeleteSetting(hContact, "e-mail0");
@@ -160,7 +160,7 @@ void CSkypeProto::UpdateContactHomepage(HANDLE hContact, CContact::Ref contact)
{
SEString data;
contact->GetPropHomepage(data);
- wchar_t* homepage = ::mir_a2u((const char*)data);
+ wchar_t* homepage = ::mir_utf8decodeW((const char*)data);
if (wcscmp(homepage, L"") == 0)
this->DeleteSetting(hContact, "Homepage");
else
@@ -180,7 +180,7 @@ void CSkypeProto::UpdateContactMobilePhone(HANDLE hContact, CContact::Ref contac
{
SEString data;
contact->GetPropPhoneMobile(data);
- wchar_t* phone = ::mir_a2u((const char*)data);
+ wchar_t* phone = ::mir_utf8decodeW((const char*)data);
if (wcscmp(phone, L"") == 0)
this->DeleteSetting(hContact, "Cellular");
else
@@ -192,7 +192,7 @@ void CSkypeProto::UpdateContactPhone(HANDLE hContact, CContact::Ref contact)
{
SEString data;
contact->GetPropPhoneHome(data);
- wchar_t* phone = ::mir_a2u((const char*)data);
+ wchar_t* phone = ::mir_utf8decodeW((const char*)data);
if (wcscmp(phone, L"") == 0)
this->DeleteSetting(hContact, "Phone");
else
@@ -204,7 +204,7 @@ void CSkypeProto::UpdateContactOfficePhone(HANDLE hContact, CContact::Ref contac
{
SEString data;
contact->GetPropPhoneOffice(data);
- wchar_t* phone = ::mir_a2u((const char*)data);
+ wchar_t* phone = ::mir_utf8decodeW((const char*)data);
if (wcscmp(phone, L"") == 0)
this->DeleteSetting(hContact, "CompanyPhone");
else
@@ -216,7 +216,7 @@ void CSkypeProto::UpdateContactState(HANDLE hContact, CContact::Ref contact)
{
SEString data;
contact->GetPropProvince(data);
- wchar_t* state = ::mir_a2u((const char*)data);
+ wchar_t* state = ::mir_utf8decodeW((const char*)data);
if (wcscmp(state, L"") == 0)
this->DeleteSetting(hContact, "State");
else