From 0281a1b407d4f8568197e6a6d52165c4ff853e9f Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 1 Mar 2014 11:43:42 +0000 Subject: Jabber: Fixed TCHAR Logging in DebugLog git-svn-id: http://svn.miranda-ng.org/main/trunk@8341 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_util.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'protocols/JabberG/src/jabber_util.cpp') diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp index c95147adc8..027d9b0330 100644 --- a/protocols/JabberG/src/jabber_util.cpp +++ b/protocols/JabberG/src/jabber_util.cpp @@ -601,33 +601,33 @@ void CJabberProto::SendPresenceTo(int status, const TCHAR* to, HXML extra, const LIST arrExtCaps(5); if (bSecureIM) - arrExtCaps.insert( _T(JABBER_EXT_SECUREIM)); + arrExtCaps.insert(JABBER_EXT_SECUREIM); if (bMirOTR) - arrExtCaps.insert( _T(JABBER_EXT_MIROTR)); + arrExtCaps.insert(JABBER_EXT_MIROTR); if (bNewGPG) - arrExtCaps.insert( _T(JABBER_EXT_NEWGPG)); + arrExtCaps.insert(JABBER_EXT_NEWGPG); if (bPlatform) - arrExtCaps.insert( _T(JABBER_EXT_PLATFORMX64)); + arrExtCaps.insert(JABBER_EXT_PLATFORMX64); else - arrExtCaps.insert( _T(JABBER_EXT_PLATFORMX86)); + arrExtCaps.insert(JABBER_EXT_PLATFORMX86); if (m_options.EnableRemoteControl) - arrExtCaps.insert( _T(JABBER_EXT_COMMANDS)); + arrExtCaps.insert(JABBER_EXT_COMMANDS); if (m_options.EnableUserMood) - arrExtCaps.insert( _T(JABBER_EXT_USER_MOOD)); + arrExtCaps.insert(JABBER_EXT_USER_MOOD); if (m_options.EnableUserTune) - arrExtCaps.insert( _T(JABBER_EXT_USER_TUNE)); + arrExtCaps.insert(JABBER_EXT_USER_TUNE); if (m_options.EnableUserActivity) - arrExtCaps.insert( _T(JABBER_EXT_USER_ACTIVITY)); + arrExtCaps.insert(JABBER_EXT_USER_ACTIVITY); if (m_options.AcceptNotes) - arrExtCaps.insert( _T(JABBER_EXT_MIR_NOTES)); + arrExtCaps.insert(JABBER_EXT_MIR_NOTES); NotifyFastHook(hExtListInit, (WPARAM)&arrExtCaps, (LPARAM)(IJabberInterface*)this); @@ -1137,7 +1137,7 @@ void __cdecl CJabberProto::LoadHttpAvatars(void* param) fclose(out); setString(AI.hContact, "AvatarSaved", buffer); ProtoBroadcastAck(AI.hContact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, &AI, 0); - debugLogA("Broadcast new avatar: %s", AI.filename); + debugLog(_T("Broadcast new avatar: %s"), AI.filename); } else ProtoBroadcastAck(AI.hContact, ACKTYPE_AVATAR, ACKRESULT_FAILED, &AI, 0); } -- cgit v1.2.3