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 --- plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp') diff --git a/plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp b/plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp index e75750654f..4a9b06f82e 100644 --- a/plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp +++ b/plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp @@ -688,7 +688,7 @@ int CExImContactXML::Import(BYTE keepMetaSubContact) do { // update progressbar and abort if user clicked cancel int result = _pXmlFile->_progress.UpdateContact(L"Sub Contact: %s (%S)", - ptrT(mir_utf8decodeT(xContact->Attribute("nick"))), xContact->Attribute("proto")); + ptrW(mir_utf8decodeW(xContact->Attribute("nick"))), xContact->Attribute("proto")); // user clicked abort button if (!result) break; @@ -739,8 +739,8 @@ int CExImContactXML::ImportMetaSubContact(CExImContactXML * pMetaContact) if (err == FALSE) { // ask to delete new contact if (_isNewContact && _hContact != NULL) { - LPTSTR ptszNick = mir_utf8decodeT(_pszNick); - LPTSTR ptszMetaNick = mir_utf8decodeT(pMetaContact->_pszNick); + LPTSTR ptszNick = mir_utf8decodeW(_pszNick); + LPTSTR ptszMetaNick = mir_utf8decodeW(pMetaContact->_pszNick); int result = MsgBox(NULL, MB_YESNO|MB_ICONWARNING, LPGENW("Question"), LPGENW("Importing a new meta subcontact failed!"), -- cgit v1.2.3