win32_set_style: Fix broken pointer-to-pointer.

This can't possibly have worked in any sensible way before ...
This commit is contained in:
Hans-Kristian Arntzen 2016-03-29 15:36:08 +02:00
parent 1ff4445ba0
commit 87a5fd2e44

View File

@ -471,7 +471,7 @@ void win32_set_style(MONITORINFOEX *current_mon, HMONITOR *hm_to_use,
{}
/* Display settings might have changed, get new coordinates. */
GetMonitorInfo(*hm_to_use, (MONITORINFO*)&current_mon);
GetMonitorInfo(*hm_to_use, (MONITORINFO*)current_mon);
*mon_rect = current_mon->rcMonitor;
}
}