Commit 0471841d authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Fixed case sensitivity flag.

parent 3d5f2a88
......@@ -435,7 +435,7 @@ static BOOL DIR_TryPath( const DOS_FULL_NAME *dir, LPCSTR name,
}
if (!DOSFS_FindUnixName( dir->long_name, name, p_l,
sizeof(full_name->long_name) - (p_l - full_name->long_name),
p_s, DRIVE_GetFlags( dir->drive ) ))
p_s, !(DRIVE_GetFlags(dir->drive) & DRIVE_CASE_SENSITIVE) ))
return FALSE;
strcpy( full_name->long_name, dir->long_name );
p_l[-1] = '/';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment