From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SpellChecker/src/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SpellChecker/src/utils.cpp') diff --git a/plugins/SpellChecker/src/utils.cpp b/plugins/SpellChecker/src/utils.cpp index 15fe69f0e7..7242f0c98c 100644 --- a/plugins/SpellChecker/src/utils.cpp +++ b/plugins/SpellChecker/src/utils.cpp @@ -440,7 +440,7 @@ void ToLocaleID(TCHAR *szKLName, size_t size) GetLocaleInfo(MAKELCID(langID, 0), LOCALE_SISO639LANGNAME, ini, _countof(ini)); GetLocaleInfo(MAKELCID(langID, 0), LOCALE_SISO3166CTRYNAME, end, _countof(end)); - mir_sntprintf(szKLName, size, _T("%s_%s"), ini, end); + mir_sntprintf(szKLName, size, L"%s_%s", ini, end); } void LoadDictFromKbdl(Dialog *dlg) @@ -449,7 +449,7 @@ void LoadDictFromKbdl(Dialog *dlg) // Use default input language HKL hkl = GetKeyboardLayout(0); - mir_sntprintf(szKLName, _T("%x"), (int)LOWORD(hkl)); + mir_sntprintf(szKLName, L"%x", (int)LOWORD(hkl)); ToLocaleID(szKLName, _countof(szKLName)); int d = GetClosestLanguage(szKLName); -- cgit v1.2.3