mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 00:28:18 +02:00
LCL: TCustomBitmap.SetMonochrome contained unreachable code. Issue #21599, patch from u-boot.
git-svn-id: trunk@46201 -
This commit is contained in:
parent
3985d2f0cb
commit
d8ef520c3e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user