summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-30 22:16:32 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-30 22:16:32 +0000
commitaeaf1f0f88bdf9ffdac3bd9bb080b858ee180154 (patch)
tree6e70c74bbf5757d8c7abec9a7b4d9439f76b4d4e
parentb608500c9f46cf2c430037b595883dfcb8b25482 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@11686 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/mir_core/src/winver.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_core/src/winver.cpp b/src/mir_core/src/winver.cpp
index ad011a8e40..5e289f5856 100644
--- a/src/mir_core/src/winver.cpp
+++ b/src/mir_core/src/winver.cpp
@@ -21,7 +21,7 @@ static int dwWinVer;
void InitWinver()
{
- DWORD dwVer = LOWORD( GetVersion());
+ DWORD dwVer = LOWORD(GetVersion());
dwWinVer = MAKEWORD(HIBYTE(dwVer), LOBYTE(dwVer));
}
@@ -37,7 +37,7 @@ MIR_CORE_DLL(BOOL) IsWinVer7Plus()
MIR_CORE_DLL(BOOL) IsFullScreen()
{
- RECT rcScreen = {0};
+ RECT rcScreen = { 0 };
rcScreen.right = GetSystemMetrics(SM_CXSCREEN);
rcScreen.bottom = GetSystemMetrics(SM_CYSCREEN);
@@ -56,7 +56,7 @@ MIR_CORE_DLL(BOOL) IsFullScreen()
if (hWnd && hWnd != hWndDesktop && hWnd != hWndShell) {
TCHAR tszClassName[128] = _T("");
GetClassName(hWnd, tszClassName, SIZEOF(tszClassName));
- if ( _tcscmp(tszClassName, _T("WorkerW"))) {
+ if (_tcscmp(tszClassName, _T("WorkerW"))) {
RECT rect, rectw, recti;
GetWindowRect(hWnd, &rectw);
@@ -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) || mir_tstrcmpi(tszName,_T("default")) != 0);
+ BOOL bLocked = (!GetUserObjectInformation(hDesk, UOI_NAME, tszName, SIZEOF(tszName), &cbName) || mir_tstrcmpi(tszName, _T("default")) != 0);
CloseDesktop(hDesk);
return bLocked;
}