Commit 6a0d6da9 authored by Olivier Teulière's avatar Olivier Teulière

* skins2/src/theme_loader.cpp: use the os-dependent path delimiter

parent 7dd7cbc6
...@@ -204,7 +204,8 @@ bool ThemeLoader::extractFileInZip( unzFile file, const string &rootDir ) ...@@ -204,7 +204,8 @@ bool ThemeLoader::extractFileInZip( unzFile file, const string &rootDir )
} }
// Get the path of the file // Get the path of the file
string fullPath = rootDir + "/" + filenameInZip; OSFactory *pOsFactory = OSFactory::instance( getIntf() );
string fullPath = rootDir + pOsFactory->getDirSeparator() + filenameInZip;
string basePath = getFilePath( fullPath ); string basePath = getFilePath( fullPath );
// Extract the file if is not a directory // Extract the file if is not a directory
......
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