Commit d77b62ee authored by Rémi Duraffort's avatar Rémi Duraffort

Lua: fix #3492, and commas around the name and longname.

parent 078feead
...@@ -665,7 +665,7 @@ static int vlc_sd_probe_Open( vlc_object_t *obj ) ...@@ -665,7 +665,7 @@ static int vlc_sd_probe_Open( vlc_object_t *obj )
goto error; goto error;
} }
} }
if( asprintf( &psz_name, "lua{sd=%s,longname=%s}", if( asprintf( &psz_name, "lua{sd='%s',longname='%s'}",
*ppsz_file, psz_longname ) < 0 ) *ppsz_file, psz_longname ) < 0 )
{ {
free( psz_filename ); free( 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