28 May
2024
28 May
'24
9:20 p.m.
Huw Davies (@huw) commented about dlls/shell32/shlexec.c:
+ } + } + if (found) + { + lpFile = xlpFile; + lstrcpyW(lpResult, xlpFile); + } + else + xlpFile[0] = '\0'; } - else - search_paths[0] = curdir; - GetCurrentDirectoryW(MAX_PATH, curdir); - lstrcpyW(xlpFile, lpFile); - if (PathResolveAW(xlpFile, (const void **)search_paths, PRF_TRYPROGRAMEXTENSIONS | PRF_VERIFYEXISTS)) + else There's a trailing white-space here.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5692#note_71271