From: Vishnunithyasoundhar S <svishnunithyasoundhar@gmail.com> --- dlls/kernelbase/file.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dlls/kernelbase/file.c b/dlls/kernelbase/file.c index 94a93f7548c..c9e46ab6f5b 100644 --- a/dlls/kernelbase/file.c +++ b/dlls/kernelbase/file.c @@ -2121,11 +2121,8 @@ DWORD WINAPI DECLSPEC_HOTPATCH GetLongPathNameW( LPCWSTR shortpath, LPWSTR longp if (shortpath[0] == '\\' && shortpath[1] == '\\' && shortpath[2] == '?' && shortpath[3] == '\\') { - if (iswalpha(shortpath[4]) && shortpath[5] == ':' && - shortpath[6] == '\\') - { + if (iswalpha(shortpath[4]) && shortpath[5] == ':' && shortpath[6] == '\\') return GetLongPathNameW(shortpath + 4, longpath, longlen); - } } if (shortpath[0] == '\\' && shortpath[1] == '\\') -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10192