diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-06-07 09:24:01 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-06-07 09:24:01 +0000 |
commit | 9f53b4ab59d8183b9064ac65ab46a87932b5cf34 (patch) | |
tree | 8e82a64936c7c69daa350ba2e8cedf243a1b5178 /protocols/Skype/src/skype_proto.cpp | |
parent | 895719cc6b7dbd4be1852f5476705172d538aabf (diff) |
Skype:
- fixed encoding in name of received files
- some chat improvements
git-svn-id: http://svn.miranda-ng.org/main/trunk@4890 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r-- | protocols/Skype/src/skype_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index fad767da3e..a717c8948e 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -163,7 +163,7 @@ HANDLE __cdecl CSkypeProto::FileAllow( HANDLE hContact, HANDLE hTransfer, const transfers[i]->GetPropFilename(data);
ptrW name(::mir_utf8decodeW(data));
::mir_sntprintf(fullPath, MAX_PATH, L"%s%s", szPath, name);
- if (!transfers[i]->Accept(::mir_u2a(fullPath), success) || !success)
+ if (!transfers[i]->Accept((char *)ptrA(::mir_utf8encodeW(fullPath)), success) || !success)
{
return 0;
}
|