summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/dlgboxsubclass.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-01-19 17:02:36 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-01-19 17:02:36 +0000
commitb4b33384b4bce30863d9d01aa6e0b60f588d281d (patch)
treee1732ca9a36ef790b92d0a21bdf4c919116bc117 /plugins/SmileyAdd/src/dlgboxsubclass.cpp
parent757be86f9884f7f6e35ebfcd2f1e6be163348eef (diff)
- 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
Diffstat (limited to 'plugins/SmileyAdd/src/dlgboxsubclass.cpp')
-rw-r--r--plugins/SmileyAdd/src/dlgboxsubclass.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/SmileyAdd/src/dlgboxsubclass.cpp b/plugins/SmileyAdd/src/dlgboxsubclass.cpp
index 31ccc22f6d..1970577b48 100644
--- a/plugins/SmileyAdd/src/dlgboxsubclass.cpp
+++ b/plugins/SmileyAdd/src/dlgboxsubclass.cpp
@@ -158,27 +158,27 @@ public:
//identifies the message dialog
bool IsMessageSendDialog(HWND hwnd)
{
- TCHAR szClassName[32] = L"";
+ TCHAR szClassName[32] = _T("");
GetClassName(hwnd, szClassName, SIZEOF(szClassName));
- if (_tcscmp(szClassName, L"#32770")) return false;
+ if (_tcscmp(szClassName, _T("#32770"))) return false;
if ((REdit = GetDlgItem(hwnd, MI_IDC_LOG)) != NULL)
{
GetClassName(REdit, szClassName, SIZEOF(szClassName));
- if (_tcscmp(szClassName, L"RichEdit20A") != 0 &&
- _tcscmp(szClassName, L"RichEdit20W") != 0 &&
- _tcscmp(szClassName, L"RICHEDIT50W") != 0) return false;
+ if (_tcscmp(szClassName, _T("RichEdit20A")) != 0 &&
+ _tcscmp(szClassName, _T("RichEdit20W")) != 0 &&
+ _tcscmp(szClassName, _T("RICHEDIT50W")) != 0) return false;
}
else return false;
if ((MEdit = GetDlgItem(hwnd, MI_IDC_MESSAGE)) != NULL)
{
GetClassName(MEdit, szClassName, SIZEOF(szClassName));
- if (_tcscmp(szClassName, L"Edit") != 0 &&
- _tcscmp(szClassName, L"RichEdit20A") != 0 &&
- _tcscmp(szClassName, L"RichEdit20W") != 0 &&
- _tcscmp(szClassName, L"RICHEDIT50W") != 0) return false;
+ if (_tcscmp(szClassName, _T("Edit")) != 0 &&
+ _tcscmp(szClassName, _T("RichEdit20A")) != 0 &&
+ _tcscmp(szClassName, _T("RichEdit20W")) != 0 &&
+ _tcscmp(szClassName, _T("RICHEDIT50W")) != 0) return false;
}
else return false;
@@ -236,7 +236,7 @@ public:
hSmlButton = CreateWindowEx(
WS_EX_LEFT | WS_EX_NOPARENTNOTIFY | WS_EX_TOPMOST,
MIRANDABUTTONCLASS,
- L"S",
+ _T("S"),
WS_CHILD|WS_VISIBLE|WS_TABSTOP, // window style
rect.left, // horizontal position of window
rect.top, // vertical position of window