[vlc-devel] commit: Win32: add extra parenthesis for gcc-win32 4.4.1 ( Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Sep 2 11:05:33 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Sep  2 10:59:08 2009 +0200| [7fc317d6b5fc37d0e5a0f94160bf8a503975a29a] | committer: Jean-Baptiste Kempf 

Win32: add extra parenthesis for gcc-win32 4.4.1

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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7fc317d6b5fc37d0e5a0f94160bf8a503975a29a
---

 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 99f9cc3..7e263c7 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -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 );
 }




More information about the vlc-devel mailing list