]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/theme_loader.cpp
* winamp2.xml: added the Equalizer and Playlist windows.
[vlc] / modules / gui / skins2 / src / theme_loader.cpp
index 899613f66720e962d0fb89656dde9acbab4ed0b7..7d8cc3e62af7249a27e2bcdd8ce0c7262538d3ca 100644 (file)
@@ -200,7 +200,7 @@ bool ThemeLoader::extractFileInZip( unzFile file, const string &rootDir )
 
     // Convert the file name to lower case, because some winamp skins
     // use the wrong case...
-    for( int i=0; i< strlen( filenameInZip ); i++)
+    for( size_t i=0; i< strlen( filenameInZip ); i++)
     {
         filenameInZip[i] = tolower( filenameInZip[i] );
     }
@@ -359,7 +359,7 @@ bool ThemeLoader::parse( const string &path, const string &xmlFile )
     }
 
     // Build and store the theme
-    Builder builder( getIntf(), parser.getData() );
+    Builder builder( getIntf(), parser.getData(), path );
     getIntf()->p_sys->p_theme = builder.build();
 
     return true;