mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 07:06:36 +00:00
Use / as path separator in unpacktool
Windows handles forward slash as a path separator just fine in most cases, so this is a sensible portable choice.
This commit is contained in:
@@ -390,7 +390,7 @@ int ExtractItem(int depth, const ArchiveItem &item, const std::string &dirPath,
|
|||||||
{
|
{
|
||||||
mkdir_utf8(path.c_str());
|
mkdir_utf8(path.c_str());
|
||||||
|
|
||||||
path.append("\\");
|
path.append("/");
|
||||||
|
|
||||||
int returnCode = RecursiveExtractFiles(depth + 1, item.m_children, path, pathParanoid, reader, ts);
|
int returnCode = RecursiveExtractFiles(depth + 1, item.m_children, path, pathParanoid, reader, ts);
|
||||||
if (returnCode)
|
if (returnCode)
|
||||||
|
Reference in New Issue
Block a user