X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fskins2%2Fsrc%2Ftheme_loader.cpp;h=1b5dcc3f43aec0d64f6b57c29aeede76c15b2233;hb=6a0d6da9f870a3b65dd20e6f675af5238292b60b;hp=b48a45338eb6aa3d5faf9f10f9c56156f4e9c5b6;hpb=7dd7cbc60f268e1669cbc2080327e2df2c1b05df;p=vlc diff --git a/modules/gui/skins2/src/theme_loader.cpp b/modules/gui/skins2/src/theme_loader.cpp index b48a45338e..1b5dcc3f43 100644 --- a/modules/gui/skins2/src/theme_loader.cpp +++ b/modules/gui/skins2/src/theme_loader.cpp @@ -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