summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-11 11:40:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-11 11:40:10 +0000
commit8f6b8588dd7e883f246d430f8b03386a2e1d0681 (patch)
tree206f9f444ac7a81b2eb4c08884b3015de2a2a240 /protocols
parent28e36f32137816db870dbfab8548353215cce7e6 (diff)
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@5649 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp
index 9f636480a2..f66613402b 100644
--- a/protocols/JabberG/src/jabber_misc.cpp
+++ b/protocols/JabberG/src/jabber_misc.cpp
@@ -287,7 +287,7 @@ void CJabberProto::GetAvatarFileName(HANDLE hContact, TCHAR* pszDest, size_t cbL
else {
ptrA res1( getStringA("LoginName")), res2( getStringA("LoginServer"));
mir_sntprintf(pszDest + tPathLen, MAX_PATH - tPathLen, _T("%S@%S avatar%s"),
- res1 ? res1 : "noname", res2 ? res2 : m_szModuleName, szFileType);
+ (res1) ? (LPSTR)res1 : "noname", (res2) ? (LPSTR)res2 : m_szModuleName, szFileType);
}
}