SegFault accessing Canvas of TBitmap with size: 0,0

Issue #29 resolved
david berneda created an issue

Code below works fine in Windows, etc. Fails in Linux

procedure TForm5.FormCreate(Sender: TObject);
var B : TBitmap;
begin
  // Works fine in Windows, etc. Fails in Linux
  B:=TBitmap.Create(0,0); // B:=TBitmap.Create(1,1);
  B.Canvas;
end;

The problem is the 0,0 size parameters

Comments (2)

  1. Log in to comment