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 '7zip/FileManager/PanelFolderChange.cpp')
-rwxr-xr-x7zip/FileManager/PanelFolderChange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/7zip/FileManager/PanelFolderChange.cpp b/7zip/FileManager/PanelFolderChange.cpp
index 0a4a8ce4..c38989f7 100755
--- a/7zip/FileManager/PanelFolderChange.cpp
+++ b/7zip/FileManager/PanelFolderChange.cpp
@@ -359,7 +359,7 @@ void CPanel::OpenDrivesFolder()
void CPanel::OpenFolder(int index)
{
- if (index == -1)
+ if (index == kParentIndex)
{
OpenParentFolder();
return;