advapi32: Fix a typo

Andrew Talbot andrew.talbot at talbotville.com
Wed Nov 28 16:17:05 CST 2007


Changelog:
    advapi32: Fix a typo.

diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index 030dfa8..4b9f29d 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -1401,7 +1401,7 @@ static VOID ADVAPI_ApplyRestrictions( DWORD dwFlags, DWORD dwType,
 
                 if ((dwFlags & RRF_RT_DWORD) == RRF_RT_DWORD)
                     cbExpect = 4;
-                else if ((dwFlags & RRF_RT_DWORD) == RRF_RT_QWORD)
+                else if ((dwFlags & RRF_RT_QWORD) == RRF_RT_QWORD)
                     cbExpect = 8;
 
                 if (cbExpect && cbData != cbExpect)



More information about the wine-patches mailing list