summaryrefslogtreecommitdiff
path: root/protocols/Twitter/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/connection.cpp')
-rw-r--r--protocols/Twitter/connection.cpp2
1 files changed, 1 insertions, 1 deletions
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)};