Fixed case sensitivity flag.

This commit is contained in:
Andreas Mohr 1999-08-07 12:36:11 +00:00 committed by Alexandre Julliard
parent 3d5f2a88d3
commit 0471841d32

View file

@ -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] = '/';