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/UI/Explorer/ContextMenu.cpp')
-rwxr-xr-x7zip/UI/Explorer/ContextMenu.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/7zip/UI/Explorer/ContextMenu.cpp b/7zip/UI/Explorer/ContextMenu.cpp
index 06465e86..94cf1bd4 100755
--- a/7zip/UI/Explorer/ContextMenu.cpp
+++ b/7zip/UI/Explorer/ContextMenu.cpp
@@ -583,6 +583,7 @@ struct CThreadCompressMain
};
*/
+#ifndef _WIN64
static bool IsItWindowsNT()
{
OSVERSIONINFO versionInfo;
@@ -591,6 +592,7 @@ static bool IsItWindowsNT()
return false;
return (versionInfo.dwPlatformId == VER_PLATFORM_WIN32_NT);
}
+#endif
static UString GetProgramCommand()
{
@@ -598,11 +600,12 @@ static UString GetProgramCommand()
UString folder;
if (GetProgramFolderPath(folder))
path += folder;
+ path += L"7zFM";
+ #ifndef _WIN64
if (IsItWindowsNT())
- path += L"7zFMn.exe";
- else
- path += L"7zFM.exe";
- path += L"\"";
+ path += L"n";
+ #endif
+ path += L".exe\"";
return path;
}