diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-18 17:01:37 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-18 17:01:37 +0000 |
commit | f54a8b0bfb54acef4454ccdb5ea8aff9d0cf3ef6 (patch) | |
tree | 02aaa448faa9adea24d4cd81f3d8a34a1bc119a5 | |
parent | 878d72910cccf4f84c7cb45bb4c11134920f3166 (diff) |
SkypeWeb: small fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14989 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/SkypeWeb/src/skype_events.cpp | 2 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp index 4c160cc976..d623186130 100644 --- a/protocols/SkypeWeb/src/skype_events.cpp +++ b/protocols/SkypeWeb/src/skype_events.cpp @@ -162,7 +162,7 @@ INT_PTR CSkypeProto::GetEventText(WPARAM, LPARAM lParam) }
default:
{
- szText = (char*)pEvent->dbei->pBlob;
+ szText = ptrA(mir_utf8decodeA((char*)pEvent->dbei->pBlob));
}
}
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index 1585ace33a..b8483e7b46 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -168,7 +168,7 @@ void CSkypeProto::OnPrivateMessageEvent(const JSONNode &node) bool bEdited = node["skypeeditedid"];
time_t timestamp = IsoToUnixTime(node["composetime"].as_string().c_str());
- int nEmoteOffset = node["skypeemoteoffset"].as_int();
+ int nEmoteOffset = atoi(node["skypeemoteoffset"].as_string().c_str());
MCONTACT hContact = AddContact(szConversationName, true);
|