From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src/process.cpp') diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index c76b0c6800..80cd20e3d7 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -520,7 +520,7 @@ std::string truncateUtf8(std::string &text, size_t maxLength) { // TODO: Probably there is much simpler and nicer way std::tstring ttext = ptrT(mir_utf8decodeT(text.c_str())); if (ttext.length() > maxLength) { - ttext = ttext.substr(0, maxLength) + _T("\x2026"); // unicode ellipsis + ttext = ttext.substr(0, maxLength) + L"\x2026"; // unicode ellipsis return std::string(_T2A(ttext.c_str(), CP_UTF8)); } // It's not longer, return given string @@ -805,7 +805,7 @@ void FacebookProto::ReceiveMessages(std::vector &messages, boo if (!hChatContact) { // hopefully shouldn't happen, but who knows? - debugLog(_T("!!! No hChatContact for %s"), fbc->thread_id.c_str()); + debugLog(L"!!! No hChatContact for %s", fbc->thread_id.c_str()); continue; } -- cgit v1.2.3