[vlc-commits] commit: Lua: fix typo on previous commit (Fabio Ritrovato )
git at videolan.org
git at videolan.org
Thu Mar 11 18:04:36 CET 2010
vlc | branch: master | Fabio Ritrovato <sephiroth87 at videolan.org> | Thu Mar 11 18:04:22 2010 +0100| [18cb2997f3132ba1c57613e0cc3cd73de1f3830f] | committer: Fabio Ritrovato
Lua: fix typo on previous commit
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=18cb2997f3132ba1c57613e0cc3cd73de1f3830f
---
modules/misc/lua/libs/sd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/misc/lua/libs/sd.c b/modules/misc/lua/libs/sd.c
index f377ba1..d1580f0 100644
--- a/modules/misc/lua/libs/sd.c
+++ b/modules/misc/lua/libs/sd.c
@@ -291,8 +291,8 @@ static int vlclua_node_add_node( lua_State *L )
name, 0, NULL, 0,
-1, ITEM_TYPE_NODE );
free( name );
+ lua_getfield( L, -1, "arturl" );
if( lua_isstring( L, -1 ) && strcmp( lua_tostring( L, -1 ), "" ) )
- if( lua_isstring( L, -1 ) )
{
char *psz_value = strdup( lua_tostring( L, -1 ) );
EnsureUTF8( psz_value );
More information about the vlc-commits
mailing list