[REACTOS] Replace comparison against TRUE with comparison against FALSE
[reactos.git] / reactos / dll / win32 / advapi32 / reg / reg.c
index 42d00a3..6184563 100644 (file)
@@ -3203,7 +3203,7 @@ RegNotifyChangeKeyValue(HKEY hKey,
         return ERROR_INVALID_HANDLE;
     }
 
-    if (fAsynchronous == TRUE && hEvent == NULL)
+    if ((fAsynchronous != FALSE) && (hEvent == NULL))
     {
         return ERROR_INVALID_PARAMETER;
     }