Author: cwittich
Date: Mon Jan 19 02:02:26 2009
New Revision: 38928
URL:
http://svn.reactos.org/svn/reactos?rev=38928&view=rev
Log:
fix some kernel32 virtual winetests
Modified:
trunk/reactos/ntoskrnl/mm/anonmem.c
Modified: trunk/reactos/ntoskrnl/mm/anonmem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/anonmem.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] Mon Jan 19 02:02:26 2009
@@ -569,7 +569,7 @@
Protect);
/* Check for valid protection flags */
- if ((Protect & PAGE_FLAGS_VALID_FROM_USER_MODE) != Protect)
+ if ((!Protect & PAGE_FLAGS_VALID_FROM_USER_MODE))