Skip to content

Commit 6f82752

Browse files
committed
fixup! mingw: clean up the Git wrapper a bit
This fixes #376 Signed-off-by: Johannes Schindelin <[email protected]>
1 parent e1c45a0 commit 6f82752

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compat/win32/git-wrapper.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,8 @@ int main(void)
503503
if (_waccess(exe, 0) != -1)
504504
swprintf(buffer, BUFSIZE,
505505
L"\"%s\\%.*s\\libexec\\git-core\"",
506-
exepath, wcslen(msystem_bin) - 4, msystem_bin);
506+
top_level_path,
507+
wcslen(msystem_bin) - 4, msystem_bin);
507508
else {
508509
wcscpy(exe, top_level_path);
509510
PathAppend(exe, L"mingw\\bin\\wish.exe");

0 commit comments

Comments
 (0)