* switch loops in TFPCustomCanvas.Erase closes #40246

This commit is contained in:
marcoonthegit 2023-04-11 11:16:37 +02:00
parent 6fe22044e7
commit 5e47b4a7b9

View File

@ -586,8 +586,8 @@ procedure TFPCustomCanvas.Erase;
var
x,y:Integer;
begin
for x:=0 to Width-1 do
for y:=0 to Height-1 do
for y:=0 to Height-1 do
for x:=0 to Width-1 do
Colors[x,y]:=colTransparent;
end;