Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

shellext: remove unused GetTHgShellRoot()

Changeset 65717f6312cf

Parent 22ca05d4bfbf

by Steve Borho

Changes to 2 files · Browse files at 65717f6312cf Showing diff from parent 22ca05d4bfbf Diff from another changeset...

 
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 
33
34
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
37
38
@@ -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
14
15
16
17
18
19
 
13
14
15
 
16
17
18
@@ -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&);