From 0471841d3295c31b119c827583907680a4b1d5f2 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Sat, 7 Aug 1999 12:36:11 +0000 Subject: [PATCH] Fixed case sensitivity flag. --- files/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/directory.c b/files/directory.c index 31fcbc743db..5966115de01 100644 --- a/files/directory.c +++ b/files/directory.c @@ -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] = '/';