diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2022-01-22 21:43:09 +0300 |
---|---|---|
committer | Kornel <kornel@geekhood.net> | 2022-01-22 21:43:09 +0300 |
commit | c3529a41f527101f05e9e834a19205ee33a3b097 (patch) | |
tree | 2a76fa3119a75a39cf3ea7418877f53f1a64b7b4 /CPP/7zip/UI/FileManager/PanelCrc.cpp | |
parent | 52eeaf1ad614fcd03b48423009182e3e3d1ff694 (diff) |
21.0721.07
Diffstat (limited to 'CPP/7zip/UI/FileManager/PanelCrc.cpp')
-rw-r--r-- | CPP/7zip/UI/FileManager/PanelCrc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CPP/7zip/UI/FileManager/PanelCrc.cpp b/CPP/7zip/UI/FileManager/PanelCrc.cpp index 6c49e897..1d483ca1 100644 --- a/CPP/7zip/UI/FileManager/PanelCrc.cpp +++ b/CPP/7zip/UI/FileManager/PanelCrc.cpp @@ -289,7 +289,7 @@ HRESULT CThreadCrc::ProcessVirt() } if (isFirstFile) { - Hash.FirstFileName = path; + Hash.FirstFileName = fs2us(path); isFirstFile = false; } sync.Set_FilePath(fs2us(path)); @@ -375,7 +375,7 @@ HRESULT CApp::CalculateCrc2(const UString &methodName) t.Enumerator.FilePaths.Add(us2fs(srcPanel.GetItemRelPath(indices[i]))); if (t.Enumerator.FilePaths.Size() == 1) - t.Hash.MainName = t.Enumerator.FilePaths[0]; + t.Hash.MainName = fs2us(t.Enumerator.FilePaths[0]); UString basePrefix = srcPanel.GetFsPath(); UString basePrefix2 = basePrefix; |