Fix ill-formed sizeof's

This commit is contained in:
Ben Payne 2015-03-04 15:59:00 -05:00
parent 27e6649413
commit 7d809a0d28
2 changed files with 6 additions and 6 deletions

View file

@ -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);