Commit d3985a2b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Lua: use the VLC wrapper to open files

Ref #13752
parent a759cda5
......@@ -668,7 +668,7 @@ static int vlc_sd_probe_Open( vlc_object_t *obj )
free( psz_filename );
goto error;
}
if( luaL_dofile( L, psz_filename ) )
if( vlclua_dofile( VLC_OBJECT(probe), L, psz_filename ) )
{
msg_Err( probe, "Error loading script %s: %s", psz_filename,
......
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