mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 17:29:39 +02:00
* switch loops in TFPCustomCanvas.Erase closes #40246
This commit is contained in:
parent
6fe22044e7
commit
5e47b4a7b9
@ -586,8 +586,8 @@ procedure TFPCustomCanvas.Erase;
|
|||||||
var
|
var
|
||||||
x,y:Integer;
|
x,y:Integer;
|
||||||
begin
|
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;
|
Colors[x,y]:=colTransparent;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user