[PATCH] d3dx9/tests: Avoid bitwise operation.
Fabian Maurer
dark.shadow4 at web.de
Mon Oct 9 12:21:40 CDT 2017
> 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)
Doesn't this change the meaning of the code?
You could also just make it into "status = FALSE", since when it's true the
conditional break is used.
Regards,
Fabian Maurer
More information about the wine-devel
mailing list