From 2f261839b60692e33d0e160344d0d636d49c90ba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jul 2016 14:23:31 +0000 Subject: less TCHARs git-svn-id: http://svn.miranda-ng.org/main/trunk@17138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_xml.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/JabberG/src/jabber_xml.h') diff --git a/protocols/JabberG/src/jabber_xml.h b/protocols/JabberG/src/jabber_xml.h index 739ba708db..0102cac006 100644 --- a/protocols/JabberG/src/jabber_xml.h +++ b/protocols/JabberG/src/jabber_xml.h @@ -258,11 +258,11 @@ public: } __forceinline bool operator== (wchar_t *str) { - return !mir_tstrcmp((LPCTSTR)*this, str); + return !mir_wstrcmp((LPCTSTR)*this, str); } __forceinline bool operator!= (wchar_t *str) { - return mir_tstrcmp((LPCTSTR)*this, str) ? true : false; + return mir_wstrcmp((LPCTSTR)*this, str) ? true : false; } HXML operator[] (int idx) { @@ -359,7 +359,7 @@ public: va_list args; va_start(args, path); - mir_vsntprintf(m_buf, BUFSIZE, path, args); + mir_vsnwprintf(m_buf, BUFSIZE, path, args); m_buf[BUFSIZE-1] = 0; va_end(args); } -- cgit v1.2.3