summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/dlgboxsubclass.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-01-19 13:59:37 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-01-19 13:59:37 +0000
commit867acc8fe919830f4735ccfe8b9d99dc49319c90 (patch)
treea7020867cbe4054ca3296c1d54dfb7819875e438 /plugins/SmileyAdd/src/dlgboxsubclass.cpp
parentd6d3e7b429b634b0907940f67a3254e799df3c26 (diff)
- Another portion of _T replacement when it's not needed (from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3169 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 1970577b48..31ccc22f6d 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] = _T("");
+ TCHAR szClassName[32] = L"";
GetClassName(hwnd, szClassName, SIZEOF(szClassName));
- if (_tcscmp(szClassName, _T("#32770"))) return false;
+ if (_tcscmp(szClassName, L"#32770")) return false;
if ((REdit = GetDlgItem(hwnd, MI_IDC_LOG)) != NULL)
{
GetClassName(REdit, szClassName, SIZEOF(szClassName));
- if (_tcscmp(szClassName, _T("RichEdit20A")) != 0 &&
- _tcscmp(szClassName, _T("RichEdit20W")) != 0 &&
- _tcscmp(szClassName, _T("RICHEDIT50W")) != 0) return false;
+ if (_tcscmp(szClassName, L"RichEdit20A") != 0 &&
+ _tcscmp(szClassName, L"RichEdit20W") != 0 &&
+ _tcscmp(szClassName, L"RICHEDIT50W") != 0) return false;
}
else return false;
if ((MEdit = GetDlgItem(hwnd, MI_IDC_MESSAGE)) != NULL)
{
GetClassName(MEdit, szClassName, SIZEOF(szClassName));
- if (_tcscmp(szClassName, _T("Edit")) != 0 &&
- _tcscmp(szClassName, _T("RichEdit20A")) != 0 &&
- _tcscmp(szClassName, _T("RichEdit20W")) != 0 &&
- _tcscmp(szClassName, _T("RICHEDIT50W")) != 0) return false;
+ if (_tcscmp(szClassName, L"Edit") != 0 &&
+ _tcscmp(szClassName, L"RichEdit20A") != 0 &&
+ _tcscmp(szClassName, L"RichEdit20W") != 0 &&
+ _tcscmp(szClassName, L"RICHEDIT50W") != 0) return false;
}
else return false;
@@ -236,7 +236,7 @@ public:
hSmlButton = CreateWindowEx(
WS_EX_LEFT | WS_EX_NOPARENTNOTIFY | WS_EX_TOPMOST,
MIRANDABUTTONCLASS,
- _T("S"),
+ L"S",
WS_CHILD|WS_VISIBLE|WS_TABSTOP, // window style
rect.left, // horizontal position of window
rect.top, // vertical position of window