Changeset 65717f6312cf…
Parent 22ca05d4bfbf…
by
Changes to 2 files · Browse files at 65717f6312cf Showing diff from parent 22ca05d4bfbf Diff from another changeset...
@@ -33,20 +33,6 @@ }
-std::string GetTHgShellRoot()
-{
- LPCSTR regname = "Software\\TortoiseHgShell";
- HKEY key = HKEY_LOCAL_MACHINE;
- TCHAR lpszValue[MAX_PATH] = "";
- LONG lpcbLonger = MAX_PATH * sizeof(TCHAR);
-
- if (RegQueryValue(key, regname, lpszValue, &lpcbLonger) != ERROR_SUCCESS)
- return "";
-
- return lpszValue;
-}
-
-
std::string GetTHgProgRoot()
{
LPCSTR regname = "Software\\TortoiseHg";
|
@@ -13,7 +13,6 @@ LPSTR hf_wctomb(LPSTR lpa, LPCWSTR lpw, int nChars);
std::string GetTHgProgRoot();
-std::string GetTHgShellRoot();
std::string GetTemporaryFile(LPCSTR prefix="THG");
bool IsDirectory(const std::string&);
std::string DirName(const std::string&);
|
Loading...