Fix test of wxImage::InitAlpha()

This commit is contained in:
Artur Wieczorek 2021-02-06 01:37:05 +01:00
parent 1adc38c42b
commit 27141e6a7c

View File

@ -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);
}