]> git.sesse.net Git - vlc/blobdiff - modules/misc/osd/simple.c
misc: use var_Inherit
[vlc] / modules / misc / osd / simple.c
index 992efe90fb94b534a7019567fd713cd105d7a1a8..cb51521c8c523786a63dd5201b33b3c04613e6e7 100644 (file)
@@ -75,7 +75,7 @@ int osd_parser_simpleOpen( vlc_object_t *p_this )
         result = fscanf(fd, "%24s %255s", action, path );
 
         /* override images path ? */
-        psz_path = config_GetPsz( p_this, "osdmenu-file-path" );
+        psz_path = var_InheritString( p_this, "osdmenu-file-path" );
         if( psz_path )
         {
             /* psz_path is not null and therefor path cannot be NULL