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

Rémi Duraffort git at videolan.org
Tue Jul 23 10:19:41 CEST 2013


vlc/vlc-2.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jul 22 19:29:57 2013 +0200| [7ed797e998ff0c6e0312c4ae7f3fc2adc78a01a4] | committer: Jean-Baptiste Kempf

Fix wrong test (cid #1049311)

(cherry picked from commit e8553f48b8274d4409fc66780a6782e41b7ec395)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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