Commit 00d43bb2 authored by Rémi Duraffort's avatar Rémi Duraffort

lua: fix vlc.msg.dbg with multiple parameters

parent 9dbbfa11
...@@ -54,7 +54,7 @@ static int vlclua_msg_dbg( lua_State *L ) ...@@ -54,7 +54,7 @@ static int vlclua_msg_dbg( lua_State *L )
vlc_object_t *p_this = vlclua_get_this( L ); vlc_object_t *p_this = vlclua_get_this( L );
int i; int i;
for( i = 1; i <= i_top; i++ ) for( i = 1; i <= i_top; i++ )
msg_Dbg( p_this, "%s", luaL_checkstring( L, 1 ) ); msg_Dbg( p_this, "%s", luaL_checkstring( L, i ) );
return 0; return 0;
} }
......
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