Commit 18cb2997 authored by Fabio Ritrovato's avatar Fabio Ritrovato

Lua: fix typo on previous commit

parent 78be7ca2
...@@ -291,8 +291,8 @@ static int vlclua_node_add_node( lua_State *L ) ...@@ -291,8 +291,8 @@ static int vlclua_node_add_node( lua_State *L )
name, 0, NULL, 0, name, 0, NULL, 0,
-1, ITEM_TYPE_NODE ); -1, ITEM_TYPE_NODE );
free( name ); free( name );
lua_getfield( L, -1, "arturl" );
if( lua_isstring( L, -1 ) && strcmp( lua_tostring( L, -1 ), "" ) ) if( lua_isstring( L, -1 ) && strcmp( lua_tostring( L, -1 ), "" ) )
if( lua_isstring( L, -1 ) )
{ {
char *psz_value = strdup( lua_tostring( L, -1 ) ); char *psz_value = strdup( lua_tostring( L, -1 ) );
EnsureUTF8( psz_value ); EnsureUTF8( psz_value );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment