Commit a8571b9b authored by Geoffroy Couprie's avatar Geoffroy Couprie

kill a warning

parent df32b381
...@@ -1173,7 +1173,7 @@ void Win32ToggleFullscreen( vout_thread_t *p_vout ) ...@@ -1173,7 +1173,7 @@ void Win32ToggleFullscreen( vout_thread_t *p_vout )
*on the right screen */ *on the right screen */
HMONITOR hmon = MonitorFromWindow(p_vout->p_sys->hparent, HMONITOR hmon = MonitorFromWindow(p_vout->p_sys->hparent,
MONITOR_DEFAULTTONEAREST); MONITOR_DEFAULTTONEAREST);
MONITORINFO mi = {sizeof(mi)}; MONITORINFO mi;
if (GetMonitorInfo(hmon, &mi)) if (GetMonitorInfo(hmon, &mi))
SetWindowPos( hwnd, 0, SetWindowPos( hwnd, 0,
mi.rcMonitor.left, mi.rcMonitor.left,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment