Makes a crashing statement more clear to make debugging easier

git-svn-id: trunk@32063 -
This commit is contained in:
sekelsenmat 2011-08-26 12:02:38 +00:00
parent 76ed2c599f
commit e500bcb51d

View File

@ -692,8 +692,11 @@ begin
end;
procedure TRasterImage.SetTransparent(AValue: Boolean);
var
lTransparent: Boolean;
begin
if AValue = Transparent then Exit;
lTransparent := GetTransparent();
if AValue = lTransparent then Exit;
// some delphi compatibility, we can only change transparency through the mask.
Masked := AValue;