Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/UI/Far/PluginRead.cpp')
-rwxr-xr-xCPP/7zip/UI/Far/PluginRead.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/CPP/7zip/UI/Far/PluginRead.cpp b/CPP/7zip/UI/Far/PluginRead.cpp
index 965030ea..a4450064 100755
--- a/CPP/7zip/UI/Far/PluginRead.cpp
+++ b/CPP/7zip/UI/Far/PluginRead.cpp
@@ -194,9 +194,11 @@ NFileOperationReturnCode::EEnum CPlugin::GetFilesReal(struct PluginPanelItem *pa
#ifdef UNDER_CE
destPathU = L"\\";
#else
- if (!NFile::NDirectory::MyGetCurrentDirectory(destPathU))
+ FString destPathF = us2fs(destPathU);
+ if (!NFile::NDirectory::MyGetCurrentDirectory(destPathF))
throw 318016;
- NFile::NName::NormalizeDirPathPrefix(destPathU);
+ NFile::NName::NormalizeDirPathPrefix(destPathF);
+ destPathU = fs2us(destPathF);
#endif
break;
}
@@ -251,7 +253,7 @@ NFileOperationReturnCode::EEnum CPlugin::GetFilesReal(struct PluginPanelItem *pa
passwordIsDefined = !password.IsEmpty();
}
- NFile::NDirectory::CreateComplexDirectory(destPathU);
+ NFile::NDirectory::CreateComplexDirectory(us2fs(destPathU));
/*
vector<int> realIndices;