[PATCH] d3dx9/tests: Avoid bitwise operation.

Andrey Gusev andrey.goosev at gmail.com
Mon Oct 9 12:08:57 CDT 2017


Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 dlls/d3dx9_36/tests/mesh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3dx9_36/tests/mesh.c b/dlls/d3dx9_36/tests/mesh.c
index 95dd06e466..1dff232b44 100644
--- a/dlls/d3dx9_36/tests/mesh.c
+++ b/dlls/d3dx9_36/tests/mesh.c
@@ -596,7 +596,7 @@ static void compare_elements(const D3DVERTEXELEMENT9 *elements, const D3DVERTEXE
 
         if (!end1 && !end2) break;
 
-        status = !end1 ^ !end2;
+        status = !end1 && !end2;
         ok(!status, "Line %u, test %u: Mismatch in size, test declaration is %s than expected.\n",
                 line, test_id, end1 ? "shorter" : "longer");
         if (status)
-- 
2.13.6




More information about the wine-patches mailing list