Kaydet (Commit) 08275c12 authored tarafından Armin Le Grand's avatar Armin Le Grand

Made conversion from BitmapColor to Color more explicit by using operator Color()

üst 51788964
......@@ -132,9 +132,9 @@ namespace drawinglayer
}
case TRANSPARENT_COLOR:
{
const Color aColor(mpReadBitmap->GetColor(rY, rX));
const BitmapColor aBitmapColor(mpReadBitmap->GetColor(rY, rX));
if(maBitmapEx.GetTransparentColor() == aColor)
if(maBitmapEx.GetTransparentColor() == Color(aBitmapColor))
{
return 255;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment