mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +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
|
||||
xm := width - 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
|
||||
ym := height - 1;
|
||||
xi := x;
|
||||
|
Loading…
Reference in New Issue
Block a user