diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-03-01 11:43:42 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-03-01 11:43:42 +0000 |
commit | 0281a1b407d4f8568197e6a6d52165c4ff853e9f (patch) | |
tree | 3f64ed4b5f1a5a41c15ed110b3d4219b92b23f4d /protocols/JabberG/src/jabber_events.cpp | |
parent | bf2b6b24b123538b937b31d9fd9244a4742c15b8 (diff) |
Jabber: Fixed TCHAR Logging in DebugLog
git-svn-id: http://svn.miranda-ng.org/main/trunk@8341 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_events.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_events.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_events.cpp b/protocols/JabberG/src/jabber_events.cpp index 86bb7689f0..6d53a81005 100644 --- a/protocols/JabberG/src/jabber_events.cpp +++ b/protocols/JabberG/src/jabber_events.cpp @@ -97,7 +97,7 @@ void __cdecl CJabberProto::OnRenameGroup(DBCONTACTWRITESETTING *cws, MCONTACT hC else {
TCHAR *p = sttSettingToTchar(cws);
if (cws->value.pszVal != NULL && lstrcmp(p, item->group)) {
- debugLogA("Group set to %S", p);
+ debugLog(_T("Group set to %s"), p);
if (p)
AddContactToRoster(item->jid, tszNick, p);
}
@@ -120,7 +120,7 @@ void __cdecl CJabberProto::OnRenameContact(DBCONTACTWRITESETTING *cws, MCONTACT ptrT newNick( sttSettingToTchar(cws));
if (newNick && lstrcmp(item->nick, newNick)) {
- debugLogA("Renaming contact %S: %S -> %S", item->jid, item->nick, newNick);
+ debugLog(_T("Renaming contact %s: %s -> %s"), item->jid, item->nick, newNick);
AddContactToRoster(item->jid, newNick, item->group);
}
}
@@ -134,7 +134,7 @@ void __cdecl CJabberProto::OnAddContactForever(DBCONTACTWRITESETTING *cws, MCONT if (jid == NULL)
return;
- debugLogA("Add %S permanently to list", jid);
+ debugLog(_T("Add %s permanently to list"), jid);
ptrT nick(db_get_tsa(hContact, "CList", "MyHandle"));
if (nick == NULL)
nick = getTStringA(hContact, "Nick");
|