From b4b33384b4bce30863d9d01aa6e0b60f588d281d Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 19 Jan 2013 17:02:36 +0000 Subject: - Another portion of _T replacement and fixes of previous commits (patch from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@3173 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/src/smileyroutines.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/SmileyAdd/src/smileyroutines.cpp') diff --git a/plugins/SmileyAdd/src/smileyroutines.cpp b/plugins/SmileyAdd/src/smileyroutines.cpp index 98bd40b959..5175309d1b 100644 --- a/plugins/SmileyAdd/src/smileyroutines.cpp +++ b/plugins/SmileyAdd/src/smileyroutines.cpp @@ -281,7 +281,7 @@ void ReplaceSmileys(HWND hwnd, SmileyPackType* smp, SmileyPackCType* smcp, const TCHAR classname[20]; GetClassName(hwnd, classname, SIZEOF(classname)); - bool ishpp = (_tcsncmp(classname, L"THppRichEdit", 12) == 0) || fireView; + bool ishpp = (_tcsncmp(classname, _T("THppRichEdit"), 12) == 0) || fireView; SetRichCallback(hwnd, NULL, false, true); @@ -323,7 +323,7 @@ void ReplaceSmileys(HWND hwnd, SmileyPackType* smp, SmileyPackCType* smcp, const unsigned numBTBSm = 0; - BSTR spaceb = SysAllocString(L" "); + BSTR spaceb = SysAllocString(_T(" ")); // Replace smileys specified in the list in RichEdit for (int j = smllist.getCount(); j--; ) @@ -526,8 +526,8 @@ void ReplaceSmileys(HWND hwnd, SmileyPackType* smp, SmileyPackCType* smcp, const QueryPerformanceCounter(&end); unsigned dif = (end.QuadPart - strt.QuadPart)/(freq.QuadPart/1000); TCHAR mess[300]; - wsprintf(mess, L"Time elapsed: %u", dif); - MessageBox(NULL, mess, L"", MB_OK); + wsprintf(mess, _T("Time elapsed: %u"), dif); + MessageBox(NULL, mess, _T(""), MB_OK); */ } -- cgit v1.2.3