Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1.2 and tip

stable shellext: remove unused hf_wctomb

Changeset 789e70fe4155

Parent cba43c1be6c2

by Adrian Buehlmann

Changes to 2 files · Browse files at 789e70fe4155 Showing diff from parent cba43c1be6c2 Diff from another changeset...

 
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 
22
23
24
 
 
 
 
 
 
 
 
 
 
 
25
26
27
@@ -22,17 +22,6 @@
 }     -LPSTR hf_wctomb(LPSTR lpa, LPCWSTR lpw, int nChars) -{ - assert(lpw != NULL); - assert(lpa != NULL); - - lpa[0] = '\0'; - WideCharToMultiByte(CP_ACP, 0, lpw, -1, lpa, nChars, NULL, NULL); - return lpa; -} - -  std::string GetTHgProgRoot()  {   LPCSTR regname = "Software\\TortoiseHg";
 
9
10
11
12
13
14
15
 
9
10
11
 
12
13
14
@@ -9,7 +9,6 @@
 #define _WCSTR(str) hf_mbtowc((LPWSTR)alloca((strlen(str) + 1) * sizeof(WCHAR)),(str),strlen(str) + 1)    LPWSTR hf_mbtowc(LPWSTR lpw, LPCSTR lpa, int nChars); -LPSTR hf_wctomb(LPSTR lpa, LPCWSTR lpw, int nChars);    std::string GetTHgProgRoot();  std::string GetTemporaryFile(LPCSTR prefix="THG");