Skip to content

Commit 55d9203

Browse files
committed
Merge another fixup
Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 16db707 + 7b052e6 commit 55d9203

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compat/mingw.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3316,9 +3316,9 @@ static size_t append_system_bin_dirs(char *path, size_t size)
33163316

33173317
static int is_system32_path(const char *path)
33183318
{
3319-
WCHAR system32[MAX_LONG_PATH], wpath[MAX_LONG_PATH];
3319+
WCHAR system32[MAX_PATH], wpath[MAX_PATH];
33203320

3321-
if (xutftowcs_long_path(wpath, path) < 0 ||
3321+
if (xutftowcs_path(wpath, path) < 0 ||
33223322
!GetSystemDirectoryW(system32, ARRAY_SIZE(system32)) ||
33233323
_wcsicmp(system32, wpath))
33243324
return 0;

0 commit comments

Comments
 (0)