mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 11:39:19 +02:00
LCL/GraphUtil: Initialize interpolation as nil (see 412af2a70b
, issue #41614)
(cherry picked from commit f1f4ed909c
)
This commit is contained in:
parent
86cbcce276
commit
9978a205d8
@ -369,7 +369,7 @@ end;
|
||||
procedure ScaleImg(AImage: TCustomBitmap; AWidth, AHeight: Integer);
|
||||
var
|
||||
srcImg, destImg: TLazIntfImage;
|
||||
destCanvas: TLazCanvas;
|
||||
destCanvas: TLazCanvas = nil;
|
||||
begin
|
||||
if (AImage.Width = AWidth) and (AImage.Height = AHeight) then
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user