diff --git a/Engine/source/windowManager/win32/win32Window.cpp b/Engine/source/windowManager/win32/win32Window.cpp index d5d019738..9dac998f1 100644 --- a/Engine/source/windowManager/win32/win32Window.cpp +++ b/Engine/source/windowManager/win32/win32Window.cpp @@ -439,8 +439,8 @@ void Win32Window::centerWindow() // Get the monitor's extents. MONITORINFO monInfo; - dMemset(&monInfo, 0, sizeof MONITORINFO); - monInfo.cbSize = sizeof MONITORINFO; + dMemset(&monInfo, 0, sizeof(MONITORINFO)); + monInfo.cbSize = sizeof(MONITORINFO); GetMonitorInfo(hMon, &monInfo); // Calculate the offset to center the window in the working area @@ -502,8 +502,8 @@ bool Win32Window::setSize( const Point2I &newSize ) // Get the monitor's extents. MONITORINFO monInfo; - dMemset(&monInfo, 0, sizeof MONITORINFO); - monInfo.cbSize = sizeof MONITORINFO; + dMemset(&monInfo, 0, sizeof(MONITORINFO)); + monInfo.cbSize = sizeof(MONITORINFO); GetMonitorInfo(hMon, &monInfo); // Calculate the offset to center the window in the working area diff --git a/Engine/source/windowManager/win32/win32WindowMgr.cpp b/Engine/source/windowManager/win32/win32WindowMgr.cpp index fcb25fc59..74cdd4bb3 100644 --- a/Engine/source/windowManager/win32/win32WindowMgr.cpp +++ b/Engine/source/windowManager/win32/win32WindowMgr.cpp @@ -501,8 +501,8 @@ void Win32WindowManager::lowerCurtain() // Get the monitor's extents. MONITORINFO monInfo; - dMemset(&monInfo, 0, sizeof MONITORINFO); - monInfo.cbSize = sizeof MONITORINFO; + dMemset(&monInfo, 0, sizeof(MONITORINFO)); + monInfo.cbSize = sizeof(MONITORINFO); GetMonitorInfo(hMon, &monInfo);