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 )
// Start the parser
SkinParser parser( getIntf(), xmlFile, path );
if( ! parser.parse() )
msg_Err( getIntf(), "failed to parse %s", xmlFile.c_str() );
return false;
// Build and store the theme
Builder builder( getIntf(), parser.getData(), path );
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment