[vlc-commits] Fix wrong test (cid #1049311)

Rémi Duraffort git at videolan.org
Mon Jul 22 19:38:45 CEST 2013


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jul 22 19:29:57 2013 +0200| [e8553f48b8274d4409fc66780a6782e41b7ec395] | committer: Rémi Duraffort

Fix wrong test (cid #1049311)

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

 modules/lua/extension_thread.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/lua/extension_thread.c b/modules/lua/extension_thread.c
index 926fa82..6cf285e 100644
--- a/modules/lua/extension_thread.c
+++ b/modules/lua/extension_thread.c
@@ -379,8 +379,7 @@ static void* Run( void *data )
                     assert( p_widget );
                     msg_Dbg( p_mgr, "Clicking '%s': '%s'",
                              p_ext->psz_name, p_widget->psz_text );
-                    if( !lua_ExtensionWidgetClick( p_mgr, p_ext, p_widget )
-                        < 0 )
+                    if( lua_ExtensionWidgetClick( p_mgr, p_ext, p_widget ) < 0 )
                     {
                         msg_Warn( p_mgr, "Could not translate click" );
                     }



More information about the vlc-commits mailing list