Commit 2975206b authored by Rémi Duraffort's avatar Rémi Duraffort

skins2: print only one error when the skins can't be loaded.

parent 7ea81104
...@@ -359,10 +359,7 @@ bool ThemeLoader::parse( const string &path, const string &xmlFile ) ...@@ -359,10 +359,7 @@ bool ThemeLoader::parse( const string &path, const string &xmlFile )
// Start the parser // Start the parser
SkinParser parser( getIntf(), xmlFile, path ); SkinParser parser( getIntf(), xmlFile, path );
if( ! parser.parse() ) if( ! parser.parse() )
{
msg_Err( getIntf(), "failed to parse %s", xmlFile.c_str() );
return false; return false;
}
// Build and store the theme // Build and store the theme
Builder builder( getIntf(), parser.getData(), path ); Builder builder( getIntf(), parser.getData(), path );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment