Commit 5630d1b0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

LUA: use psz_intf instead of b_force

parent 5c939db2
...@@ -162,7 +162,7 @@ int Open_LuaIntf( vlc_object_t *p_this ) ...@@ -162,7 +162,7 @@ int Open_LuaIntf( vlc_object_t *p_this )
config_ChainParse( p_intf, "lua-", ppsz_intf_options, p_intf->p_cfg ); config_ChainParse( p_intf, "lua-", ppsz_intf_options, p_intf->p_cfg );
char *psz_name = NULL; char *psz_name = NULL;
if( !p_intf->b_force ) if( !p_intf->psz_intf || !*p_intf->psz_intf )
psz_name = strdup( "rc" ); psz_name = strdup( "rc" );
else else
psz_name = GetModuleName( p_intf ); psz_name = GetModuleName( p_intf );
......
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