diff options
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/src/messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/messages.cpp b/protocols/FacebookRM/src/messages.cpp index 4bc777f57d..05659f3153 100644 --- a/protocols/FacebookRM/src/messages.cpp +++ b/protocols/FacebookRM/src/messages.cpp @@ -228,7 +228,7 @@ void FacebookProto::StickerAsSmiley(std::string sticker, const std::string &url, cont.cbSize = sizeof(SMADD_CONT); cont.hContact = hContact; cont.type = 1; - cont.path = ptrT(_tcsdup(filename.c_str())); + cont.path = ptrT(mir_tstrdup(filename.c_str())); CallService(MS_SMILEYADD_LOADCONTACTSMILEYS, 0, (LPARAM)&cont); } |