Commit 28a41f12 authored by gbazin's avatar gbazin

* modules/gui/skins2/src/theme_loader.cpp: portability fix (gzopen_frontend()...

* modules/gui/skins2/src/theme_loader.cpp: portability fix (gzopen_frontend() is still borked on 64bits platforms).
parent 54b9bea2
...@@ -180,7 +180,7 @@ bool ThemeLoader::parse( const string &xmlFile ) ...@@ -180,7 +180,7 @@ bool ThemeLoader::parse( const string &xmlFile )
// Extract the path of the XML file // Extract the path of the XML file
string path; string path;
const string &sep = OSFactory::instance( getIntf() )->getDirSeparator(); const string &sep = OSFactory::instance( getIntf() )->getDirSeparator();
unsigned int p = xmlFile.rfind( sep, xmlFile.size() ); size_type p = xmlFile.rfind( sep, xmlFile.size() );
if( p != string::npos ) if( p != string::npos )
{ {
path = xmlFile.substr( 0, p + 1 ); path = xmlFile.substr( 0, p + 1 );
......
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