diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-02 12:02:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-02 12:02:34 +0000 |
commit | 71eabf9174e4829e85d84f1098ef0d70b3674300 (patch) | |
tree | 4275d4c331032c306779faa97863b4ab25d8637a /protocols/JabberG/src/jabber_events.cpp | |
parent | a0bd83dbb96a4e45005fdab38fb7b3a17cdcb012 (diff) |
- avatars' Folders settings moved to the "Avatars" section;
- TCHAR_STR_PARAM is replaced by %S (we don't need the ansi version)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3830 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 290b756e71..32e71215ea 100644 --- a/protocols/JabberG/src/jabber_events.cpp +++ b/protocols/JabberG/src/jabber_events.cpp @@ -117,7 +117,7 @@ void __cdecl CJabberProto::OnRenameGroup(DBCONTACTWRITESETTING* cws, HANDLE hCon else {
TCHAR* p = sttSettingToTchar(cws);
if (cws->value.pszVal != NULL && lstrcmp(p, item->group)) {
- Log("Group set to " TCHAR_STR_PARAM, p);
+ Log("Group set to %S", p);
if (p)
AddContactToRoster(item->jid, nick, p);
}
@@ -147,7 +147,7 @@ void __cdecl CJabberProto::OnRenameContact(DBCONTACTWRITESETTING* cws, HANDLE hC TCHAR* newNick = sttSettingToTchar(cws);
if (newNick) {
if (lstrcmp(item->nick, newNick)) {
- Log("Renaming contact " TCHAR_STR_PARAM ": " TCHAR_STR_PARAM " -> " TCHAR_STR_PARAM, item->jid, item->nick, newNick);
+ Log("Renaming contact %S: %S -> %S", item->jid, item->nick, newNick);
AddContactToRoster(item->jid, newNick, item->group);
}
mir_free(newNick);
@@ -163,7 +163,7 @@ void __cdecl CJabberProto::OnAddContactForever(DBCONTACTWRITESETTING* cws, HANDL return;
TCHAR *nick;
- Log("Add " TCHAR_STR_PARAM " permanently to list", jid.pszVal);
+ Log("Add %S permanently to list", jid.pszVal);
if ( !DBGetContactSettingTString(hContact, "CList", "MyHandle", &dbv)) {
nick = mir_tstrdup(dbv.ptszVal);
db_free(&dbv);
|