kill a warning
authorGeoffroy Couprie <geal@videolan.org>
Thu, 20 Aug 2009 18:19:58 +0000 (20:19 +0200)
committerGeoffroy Couprie <geal@videolan.org>
Thu, 20 Aug 2009 19:56:29 +0000 (21:56 +0200)
modules/video_output/msw/events.c

index 9c65987..b54a5b0 100644 (file)
@@ -1173,7 +1173,7 @@ void Win32ToggleFullscreen( vout_thread_t *p_vout )
             *on the right screen */
             HMONITOR hmon = MonitorFromWindow(p_vout->p_sys->hparent,
                                             MONITOR_DEFAULTTONEAREST);
             *on the right screen */
             HMONITOR hmon = MonitorFromWindow(p_vout->p_sys->hparent,
                                             MONITOR_DEFAULTTONEAREST);
-            MONITORINFO mi = {sizeof(mi)};
+            MONITORINFO mi;
             if (GetMonitorInfo(hmon, &mi))
             SetWindowPos( hwnd, 0,
                             mi.rcMonitor.left,
             if (GetMonitorInfo(hmon, &mi))
             SetWindowPos( hwnd, 0,
                             mi.rcMonitor.left,