From d8a7fd7717d677c4b1ab523b164e186edb041713 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Tue, 25 Apr 2023 21:34:10 +0000 Subject: [PATCH] LazMapViewer: Fix typo in TMvIntfGraphicsDrawingEngine.PaintToCanvas git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8812 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/lazmapviewer/source/mvde_intfgraphics.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lazmapviewer/source/mvde_intfgraphics.pas b/components/lazmapviewer/source/mvde_intfgraphics.pas index ff5a5b6c1..84b968bf3 100644 --- a/components/lazmapviewer/source/mvde_intfgraphics.pas +++ b/components/lazmapviewer/source/mvde_intfgraphics.pas @@ -296,7 +296,7 @@ procedure TMvIntfGraphicsDrawingEngine.PaintToCanvas(ACanvas: TCanvas); var bmp: TBitmap; begin - if FCanvas <> nil then begin + if ACanvas <> nil then begin bmp := TBitmap.Create; try bmp.PixelFormat := pf32Bit;