[vlc-commits] commit: Lua: fix interface selection. ( Rémi Duraffort )
git at videolan.org
git at videolan.org
Sun Mar 28 21:24:32 CEST 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Mar 28 21:23:25 2010 +0200| [158be7e57ecb0967c9de12022a478690bf39f84f] | committer: Rémi Duraffort
Lua: fix interface selection.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=158be7e57ecb0967c9de12022a478690bf39f84f
---
modules/misc/lua/intf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/misc/lua/intf.c b/modules/misc/lua/intf.c
index 103126f..2687e54 100644
--- a/modules/misc/lua/intf.c
+++ b/modules/misc/lua/intf.c
@@ -93,7 +93,7 @@ static const char *WordInList( const char *psz_list, const char *psz_word )
return psz_list;
psz_list = end + 1;
}
- return strcmp( psz_list, psz_word ) ? psz_list : NULL;
+ return !strcmp( psz_list, psz_word ) ? psz_list : NULL;
}
static char *GetModuleName( intf_thread_t *p_intf )
More information about the vlc-commits
mailing list