squash! git-wrapper: support git.exe to be in a spaced dir

... and `gitk.exe`, too...
This commit is contained in:
Johannes Schindelin
2015-04-02 16:37:51 +01:00
parent 3c5faa8885
commit 9a5c96c2ed

View File

@@ -347,7 +347,7 @@ int main(void)
/* set the default exe module */
wcscpy(exe, exepath);
wcscpy(buffer, exepath);
swprintf(buffer, BUFSIZE, L"\"%s\"", exepath);
PathAppend(exe, msystem_bin);
PathAppend(exe, L"wish.exe");
if (_waccess(exe, 0) != -1)