summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-27 11:50:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-27 11:50:07 +0000
commitddd1af0fdf37364c9472faedad941b4cc5f1b465 (patch)
treed4eb46f481a47b6e16e40b39860e830e40f9dbcf /src/mir_core
parentcc3be4384048697fe9b7716c11b7bd726b9ca650 (diff)
<tchar.h> removed from <m_system.h>
git-svn-id: http://svn.miranda-ng.org/main/trunk@17136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/cmdline.cpp2
-rw-r--r--src/mir_core/src/winver.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_core/src/cmdline.cpp b/src/mir_core/src/cmdline.cpp
index c90eb11767..6489bde9d7 100644
--- a/src/mir_core/src/cmdline.cpp
+++ b/src/mir_core/src/cmdline.cpp
@@ -36,7 +36,7 @@ struct CmdLineParam
static int CompareParams(const CmdLineParam *p1, const CmdLineParam *p2)
{
- return _tcscmp(p1->name, p2->name);
+ return wcscmp(p1->name, p2->name);
}
static OBJLIST<CmdLineParam> arParams(5, CompareParams);
diff --git a/src/mir_core/src/winver.cpp b/src/mir_core/src/winver.cpp
index 8484f8ef71..cfbe338b81 100644
--- a/src/mir_core/src/winver.cpp
+++ b/src/mir_core/src/winver.cpp
@@ -71,7 +71,7 @@ MIR_CORE_DLL(BOOL) IsFullScreen()
if (hWnd && hWnd != hWndDesktop && hWnd != hWndShell) {
wchar_t tszClassName[128] = L"";
GetClassName(hWnd, tszClassName, _countof(tszClassName));
- if (_tcscmp(tszClassName, L"WorkerW")) {
+ if (wcscmp(tszClassName, L"WorkerW")) {
RECT rect, rectw, recti;
GetWindowRect(hWnd, &rectw);