]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/theme_loader.cpp
* skins2/src/theme_loader.cpp: use the os-dependent path delimiter
[vlc] / modules / gui / skins2 / src / theme_loader.cpp
index b48a45338eb6aa3d5faf9f10f9c56156f4e9c5b6..1b5dcc3f43aec0d64f6b57c29aeede76c15b2233 100644 (file)
@@ -204,7 +204,8 @@ bool ThemeLoader::extractFileInZip( unzFile file, const string &rootDir )
     }
 
     // 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 );
 
     // Extract the file if is not a directory