summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_messages.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-06-17 07:20:36 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-06-17 07:20:36 +0000
commit5cc00bfae505d55ad1a2e7a7c0aea17bc6e557dd (patch)
tree6a052c9a690be47c2af166df0656c5ea2b6feee3 /protocols/SkypeWeb/src/skype_messages.cpp
parent06b7222a8359baa84e2dc185f4397a2fbb40ff58 (diff)
SkypeWeb: More fixes. Version bump.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14227 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_messages.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp
index eea09a0389..cdd86adf49 100644
--- a/protocols/SkypeWeb/src/skype_messages.cpp
+++ b/protocols/SkypeWeb/src/skype_messages.cpp
@@ -250,11 +250,11 @@ void CSkypeProto::OnPrivateMessageEvent(const JSONNode &node)
for (int i = 0; i < xi.getChildCount(xml); i++)
{
int fileSize;
- HXML xmlNode = xi.getNthChild(xml, L"file", i);
+ HXML xmlNode = xi.getNthChild(xml, _T("file"), i);
if (xmlNode == NULL)
break;
- fileSize = atoi(_T2A(xi.getAttrValue(xmlNode, L"size")));
- ptrA fileName(mir_t2a(xi.getText(xmlNode)));
+ fileSize = atoi(_T2A(xi.getAttrValue(xmlNode, _T("size"))));
+ ptrA fileName(mir_utf8encodeT(xi.getText(xmlNode)));
if (fileName == NULL || fileSize == NULL)
continue;