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/FileManager/ProgramLocation.cpp')
-rwxr-xr-xCPP/7zip/UI/FileManager/ProgramLocation.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/CPP/7zip/UI/FileManager/ProgramLocation.cpp b/CPP/7zip/UI/FileManager/ProgramLocation.cpp
index ce2d178e..50ca5ca5 100755
--- a/CPP/7zip/UI/FileManager/ProgramLocation.cpp
+++ b/CPP/7zip/UI/FileManager/ProgramLocation.cpp
@@ -1,24 +1,3 @@
// ProgramLocation.cpp
#include "StdAfx.h"
-
-#include "../../../../C/Types.h"
-
-#include "ProgramLocation.h"
-
-#include "Windows/DLL.h"
-
-using namespace NWindows;
-
-extern HINSTANCE g_hInstance;
-
-bool GetProgramFolderPath(UString &folder)
-{
- if (!NDLL::MyGetModuleFileName(g_hInstance, folder))
- return false;
- int pos = folder.ReverseFind(WCHAR_PATH_SEPARATOR);
- if (pos < 0)
- return false;
- folder = folder.Left(pos + 1);
- return true;
-}