[PATCH 0/7] MR391: scrrun: Implement MoveFolder().

Chip Davis (@cdavis5e) wine at gitlab.winehq.org
Thu Jul 7 01:09:47 CDT 2022


Chip Davis (@cdavis5e) commented about dlls/scrrun/filesystem.c:
>      if((attrs == INVALID_FILE_ATTRIBUTES) || !(attrs & FILE_ATTRIBUTE_DIRECTORY))
>          return CTL_E_PATHNOTFOUND;
>  
> +    _wsplitpath(source, src_drive, src_dir, file_name, file_ext);
> +    len = lstrlenW(destination);
> +
> +    if (destination[len-1] == '\\') {
What about `'/'`? I know that's a valid separator to the Win32 API. Is it one to this API?

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/391#note_3508



More information about the wine-devel mailing list