[ADVAPI32]

sync RegpApplyRestrictions to wine 1.1.40

svn path=/trunk/; revision=46219
This commit is contained in:
Christoph von Wittich 2010-03-16 09:29:28 +00:00
parent 96ae173fea
commit c1e3362f03

View file

@ -1916,9 +1916,9 @@ RegpApplyRestrictions(DWORD dwFlags,
{
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)