[vlc-devel] commit: kill a warning (Geoffroy Couprie )
git version control
git at videolan.org
Thu Aug 20 22:03:48 CEST 2009
vlc | branch: master | Geoffroy Couprie <geal at videolan.org> | Thu Aug 20 20:19:58 2009 +0200| [a8571b9ba0f02142445bed6ac2fb1dca5390f168] | committer: Geoffroy Couprie
kill a warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a8571b9ba0f02142445bed6ac2fb1dca5390f168
---
modules/video_output/msw/events.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index 9c65987..b54a5b0 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -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);
- MONITORINFO mi = {sizeof(mi)};
+ MONITORINFO mi;
if (GetMonitorInfo(hmon, &mi))
SetWindowPos( hwnd, 0,
mi.rcMonitor.left,
More information about the vlc-devel
mailing list