From 7140e3951d15a18ecd833e3c972b1253c97c3eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sun, 22 Dec 2002 11:26:01 +0000 Subject: [PATCH] Volume label doesn't always have the ARCHIVE bit set svn path=/trunk/; revision=3887 --- reactos/drivers/fs/vfat/direntry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/fs/vfat/direntry.c b/reactos/drivers/fs/vfat/direntry.c index a98aa9370c2..86499616743 100644 --- a/reactos/drivers/fs/vfat/direntry.c +++ b/reactos/drivers/fs/vfat/direntry.c @@ -1,4 +1,4 @@ -/* $Id: direntry.c,v 1.11 2002/12/03 01:14:49 hbirr Exp $ +/* $Id: direntry.c,v 1.12 2002/12/22 11:26:01 gvg Exp $ * * * FILE: DirEntry.c @@ -62,7 +62,7 @@ vfatIsDirEntryLongName (FATDirEntry * pFatDirEntry) BOOL vfatIsDirEntryVolume (FATDirEntry * pFatDirEntry) { - return pFatDirEntry->Attrib == 0x28; + return 0x08 == (pFatDirEntry->Attrib & 0x1f); } void