mirror of
https://github.com/reactos/reactos.git
synced 2024-07-07 21:25:05 +00:00
[NTVDM]: Fix a bug introduced in r67619.
svn path=/trunk/; revision=67622
This commit is contained in:
parent
f7d9d7088b
commit
25427ebb72
|
@ -556,9 +556,9 @@ demFileFindFirst(OUT PVOID lpFindFileData,
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
/* Check the attributes and retry as long as we haven't found a matching file */
|
/* Check the attributes and retry as long as we haven't found a matching file */
|
||||||
if (((FindData.dwFileAttributes & (FILE_ATTRIBUTE_HIDDEN |
|
if (!((FindData.dwFileAttributes & (FILE_ATTRIBUTE_HIDDEN |
|
||||||
FILE_ATTRIBUTE_SYSTEM |
|
FILE_ATTRIBUTE_SYSTEM |
|
||||||
FILE_ATTRIBUTE_DIRECTORY))
|
FILE_ATTRIBUTE_DIRECTORY))
|
||||||
& ~AttribMask))
|
& ~AttribMask))
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue