"logo-transparency\0";
const char *psz_name;
+ if( newval.psz_string )
for( psz_name = vars; *psz_name; psz_name += strlen( psz_name ) + 1 )
{
if( strcmp( psz_name, psz_cmd ) == 0 )
if( i_type & VLC_VAR_INTEGER )
{
- if( !strlen( newval.psz_string ) ) break;
var_SetInteger( p_input->p_libvlc_global, psz_name,
atoi( newval.psz_string ) );
+ break;
}
else if( i_type & VLC_VAR_STRING )
{
- if( !strlen( newval.psz_string ) ) break;
var_SetInteger( p_input->p_libvlc_global, psz_name,
newval.psz_string );
+ break;
}
}
}