]> git.sesse.net Git - vlc/commitdiff
Win32: add extra parenthesis for gcc-win32 4.4.1
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 2 Sep 2009 08:59:08 +0000 (10:59 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 2 Sep 2009 09:05:24 +0000 (11:05 +0200)
I thought the C priorities were clear on that kind of figure... Why through an error then?
But, then, why not? It doesn't clutter the code that much and improves fast readability...
Maybe Diego is right... I don't know.

modules/video_output/msw/events.c

index 99f9cc31de863fde9ba258d742e05fe15c15a077..7e263c797a09c42d0382be6f62b6adc76b33cb27 100644 (file)
@@ -1361,6 +1361,6 @@ void StopEventThread( vout_thread_t *p_vout )
         vlc_object_release( p_vout->p_sys->p_event );
     }
 
-    if( !p_vout->p_sys->i_changes & SWITCHING_MODE_FLAG )
+    if( !( p_vout->p_sys->i_changes & SWITCHING_MODE_FLAG ) )
         vlc_mutex_destroy( &p_vout->p_sys->lock );
 }