From 27141e6a7c22bb77186f5aba3fa787009a48d71c Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sat, 6 Feb 2021 01:37:05 +0100 Subject: [PATCH] Fix test of wxImage::InitAlpha() --- tests/image/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/image/image.cpp b/tests/image/image.cpp index 85b6f9a317..838cb9a655 100644 --- a/tests/image/image.cpp +++ b/tests/image/image.cpp @@ -2035,7 +2035,7 @@ TEST_CASE("wxImage::InitAlpha", "[image][initalpha]") wxColour cRes(imgRes.GetRed(x, y), imgRes.GetGreen(x, y), imgRes.GetBlue(x, y), imgRes.GetAlpha(x, y)); CHECK_EQUAL_COLOUR_RGB(cRes, cSrc); - if ( cRes == maskCol ) + if ( cSrc == maskCol ) { CHECK((int)cRes.Alpha() == (int)wxIMAGE_ALPHA_TRANSPARENT); }