[REACTOS] Replace comparison against TRUE with comparison against FALSE
[reactos.git] / reactos / dll / win32 / msports / classinst.c
index b026581..a1df8ed 100644 (file)
@@ -91,7 +91,7 @@ done:
     if (hDeviceKey)
         RegCloseKey(hDeviceKey);
 
-    if (ret == TRUE)
+    if (ret != FALSE)
         *ppResourceList = (PCM_RESOURCE_LIST)lpBuffer;
 
     return ret;