summaryrefslogtreecommitdiff
path: root/src/mir_core/winver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_core/winver.cpp')
-rw-r--r--src/mir_core/winver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/winver.cpp b/src/mir_core/winver.cpp
index 7c568a59a4..ad011a8e40 100644
--- a/src/mir_core/winver.cpp
+++ b/src/mir_core/winver.cpp
@@ -80,7 +80,7 @@ MIR_CORE_DLL(BOOL) IsWorkstationLocked(void)
TCHAR tszName[100];
DWORD cbName;
- BOOL bLocked = (!GetUserObjectInformation(hDesk, UOI_NAME, tszName, SIZEOF(tszName), &cbName) || lstrcmpi(tszName,_T("default")) != 0);
+ BOOL bLocked = (!GetUserObjectInformation(hDesk, UOI_NAME, tszName, SIZEOF(tszName), &cbName) || mir_tstrcmpi(tszName,_T("default")) != 0);
CloseDesktop(hDesk);
return bLocked;
}