[vlc-commits] Improve parenthesis.

Rémi Duraffort git at videolan.org
Sun Mar 20 10:43:00 CET 2011


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Mar 19 12:35:58 2011 +0100| [0a11f3b2f649b5a1a5da2e7be9b8d00c24436b16] | committer: Rémi Duraffort

Improve parenthesis.

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

 modules/lua/vlc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/lua/vlc.c b/modules/lua/vlc.c
index d698b08..9e6c306 100644
--- a/modules/lua/vlc.c
+++ b/modules/lua/vlc.c
@@ -275,7 +275,7 @@ int vlclua_scripts_batch_execute( vlc_object_t *p_this,
     char **ppsz_dir_list = NULL;
     int i_ret;
 
-    if((i_ret = vlclua_dir_list( p_this, luadirname, &ppsz_dir_list ) != VLC_SUCCESS))
+    if( (i_ret = vlclua_dir_list( p_this, luadirname, &ppsz_dir_list )) != VLC_SUCCESS)
         return i_ret;
 
     i_ret = VLC_EGENERIC;



More information about the vlc-commits mailing list