mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 18:25:58 +02:00
* patch by Werner Pamler: Typo in TFPCustomCanvas.Draw, resolves #40176
This commit is contained in:
parent
708aaa7b97
commit
1fad287896
@ -786,7 +786,7 @@ begin
|
|||||||
if xm >= width then
|
if xm >= width then
|
||||||
xm := width - 1;
|
xm := width - 1;
|
||||||
ym := y + image.height-1;
|
ym := y + image.height-1;
|
||||||
if (ym<0) or (y>width) then exit;
|
if (ym<0) or (y>height) then exit;
|
||||||
if ym >= height then
|
if ym >= height then
|
||||||
ym := height - 1;
|
ym := height - 1;
|
||||||
xi := x;
|
xi := x;
|
||||||
|
Loading…
Reference in New Issue
Block a user