From 6a0d6da9f870a3b65dd20e6f675af5238292b60b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Teuli=C3=A8re?= Date: Sun, 6 Nov 2005 18:46:25 +0000 Subject: [PATCH] * skins2/src/theme_loader.cpp: use the os-dependent path delimiter --- modules/gui/skins2/src/theme_loader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2