Author: cwittich
Date: Tue Mar 16 10:29:28 2010
New Revision: 46219
URL:
http://svn.reactos.org/svn/reactos?rev=46219&view=rev
Log:
[ADVAPI32]
sync RegpApplyRestrictions to wine 1.1.40
Modified:
trunk/reactos/dll/win32/advapi32/reg/reg.c
Modified: trunk/reactos/dll/win32/advapi32/reg/reg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/reg/reg…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/reg/reg.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/reg/reg.c [iso-8859-1] Tue Mar 16 10:29:28 2010
@@ -1916,9 +1916,9 @@
{
DWORD cbExpect = 0;
- if ((dwFlags & RRF_RT_DWORD) == RRF_RT_DWORD)
+ if ((dwFlags & RRF_RT_ANY) == RRF_RT_DWORD)
cbExpect = 4;
- else if ((dwFlags & RRF_RT_QWORD) == RRF_RT_QWORD)
+ else if ((dwFlags & RRF_RT_ANY) == RRF_RT_QWORD)
cbExpect = 8;
if (cbExpect && cbData != cbExpect)