[MPlayer-cvslog] r35093 - trunk/gui/win32/interface.c

ib subversion at mplayerhq.hu
Wed Aug 15 15:14:59 CEST 2012


Author: ib
Date: Wed Aug 15 15:14:59 2012
New Revision: 35093

Log:
Add parentheses to avoid compiler warning.

Modified:
   trunk/gui/win32/interface.c

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Wed Aug 15 15:10:16 2012	(r35092)
+++ trunk/gui/win32/interface.c	Wed Aug 15 15:14:59 2012	(r35093)
@@ -796,7 +796,7 @@ int gui(int what, void *data)
               mygui->playlist->current = 0;
 
           fullscreen = 0;
-          if(style == WS_VISIBLE | WS_POPUP)
+          if(style == (WS_VISIBLE | WS_POPUP))
           {
               style = WS_OVERLAPPEDWINDOW | WS_SIZEBOX;
               SetWindowLong(mygui->videowindow, GWL_STYLE, style);


More information about the MPlayer-cvslog mailing list