LCL: TCustomBitmap.SetMonochrome contained unreachable code. Issue #21599, patch from u-boot.

git-svn-id: trunk@46201 -
This commit is contained in:
juha 2014-09-13 08:40:56 +00:00
parent 3985d2f0cb
commit d8ef520c3e

View File

@ -291,8 +291,6 @@ end;
procedure TCustomBitmap.SetMonochrome(AValue: Boolean);
begin
if Monochrome = AValue then exit;
if not AValue then Exit;
if AValue
then PixelFormat := pf1bit
else PixelFormat := pfDevice;