Changeset 789e70fe4155…
Parent cba43c1be6c2…
by
Changes to 2 files · Browse files at 789e70fe4155 Showing diff from parent cba43c1be6c2 Diff from another changeset...
@@ -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,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");
|
Loading...