Author: hbelusca
Date: Sun May 10 14:26:49 2015
New Revision: 67622
URL:
http://svn.reactos.org/svn/reactos?rev=67622&view=rev
Log:
[NTVDM]: Fix a bug introduced in r67619.
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/dos/dem.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/dos/…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/dos/dem.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/dos/dem.c [iso-8859-1] Sun May 10 14:26:49 2015
@@ -556,9 +556,9 @@
do
{
/* Check the attributes and retry as long as we haven't found a matching file
*/
- if (((FindData.dwFileAttributes & (FILE_ATTRIBUTE_HIDDEN |
- FILE_ATTRIBUTE_SYSTEM |
- FILE_ATTRIBUTE_DIRECTORY))
+ if (!((FindData.dwFileAttributes & (FILE_ATTRIBUTE_HIDDEN |
+ FILE_ATTRIBUTE_SYSTEM |
+ FILE_ATTRIBUTE_DIRECTORY))
& ~AttribMask))
{
break;