Paul Gofman wine@gitlab.winehq.org wrote:
- if (curdir->DosPath.Length == (compare_size + 1) * sizeof(WCHAR)
&& !memcmp( curdir->DosPath.Buffer, ptr, compare_size * sizeof(WCHAR) ))
- {
TRACE( "dir %s is the same as current.\n", debugstr_us(dir) );
nts = STATUS_SUCCESS;
goto out;
- }
Comparison probably should be case insensitive.