]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/theme_loader.cpp
skins2: improve list of skins
[vlc] / modules / gui / skins2 / src / theme_loader.cpp
index f06e77c1caea8b3bb7313100dcb095744ed39b54..0d9cfd5b9ee7fede21f097417049b9b057588139 100644 (file)
@@ -98,7 +98,7 @@ bool ThemeLoader::load( const string &fileName )
     }
 
     // Check if the skin to load is in the config file, to load its config
-    char *skin_last = var_InheritString( getIntf(), "skins2-last" );
+    char *skin_last = config_GetPsz( getIntf(), "skins2-last" );
     if( skin_last != NULL && fileName == (string)skin_last )
     {
         // Restore the theme configuration