From 18540e71624543fd0181b764a6913aa6bf8eb75d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Jun 2012 08:05:51 +0000 Subject: more avatar fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@498 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Twitter/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Twitter/connection.cpp') diff --git a/protocols/Twitter/connection.cpp b/protocols/Twitter/connection.cpp index 0ef143e411..02d2244081 100644 --- a/protocols/Twitter/connection.cpp +++ b/protocols/Twitter/connection.cpp @@ -430,7 +430,7 @@ void TwitterProto::UpdateAvatarWorker(void *p) return; std::string ext = data->url.substr(data->url.rfind('.')); - std::tstring filename = GetAvatarFolder() + '\\' + dbv.ptszVal + ext; + std::tstring filename = GetAvatarFolder() + _T('\\') + dbv.ptszVal + (TCHAR*)_A2T(ext.c_str()); DBFreeVariant(&dbv); PROTO_AVATAR_INFORMATIONT ai = {sizeof(ai)}; -- cgit v1.2.3