Commit 09679e2b authored by Joseph Tulou's avatar Joseph Tulou Committed by Jean-Baptiste Kempf

corrects no dtd found when changing skins

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a1e6d3b1
...@@ -45,12 +45,14 @@ XMLParser::XMLParser( intf_thread_t *pIntf, const string &rFileName, ...@@ -45,12 +45,14 @@ XMLParser::XMLParser( intf_thread_t *pIntf, const string &rFileName,
return; return;
} }
// Avoid duplicate initialization (mutex needed ?) // Avoid duplicate initialization (mutex needed ?) -> doesn't work
if( !m_initialized ) // Reinitialization required for a new XMLParser
{ // if( !m_initialized )
// {
// LoadCatalog();
// m_initialized = true;
// }
LoadCatalog(); LoadCatalog();
m_initialized = true;
}
m_pStream = stream_UrlNew( pIntf, rFileName.c_str() ); m_pStream = stream_UrlNew( pIntf, rFileName.c_str() );
if( !m_pStream ) if( !m_pStream )
......
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