]> git.sesse.net Git - vlc/blobdiff - src/misc/variables.c
programs is a string, which is a string, which is not a list
[vlc] / src / misc / variables.c
index a280c8e9df66373260abd2aadb7151c063db3166..120aa4bbdd812ef89e46b9363da8f80f1469f9b0 100644 (file)
@@ -1048,12 +1048,7 @@ void var_OptionParse( vlc_object_t *p_obj, const char *psz_option,
     if( psz_value != NULL )
         *psz_value++ = '\0';
 
-    /* FIXME: :programs should be handled generically */
-    if( !strcmp( psz_name, "programs" ) )
-        i_type = VLC_VAR_LIST;
-    else
-        i_type = config_GetType( p_obj, psz_name );
-
+    i_type = config_GetType( p_obj, psz_name );
     if( !i_type && !psz_value )
     {
         /* check for "no-foo" or "nofoo" */