From 9f7de9f22454e85748bda2166138cc647ea46453 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Fri, 22 Mar 2019 23:11:50 +0000 Subject: [PATCH] lazmapviewer: Fix compilation when USE_RGBGRAPHICS is defined. Set name of built-in download engine. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6834 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/lazmapviewer/source/mvmapviewer.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/lazmapviewer/source/mvmapviewer.pas b/components/lazmapviewer/source/mvmapviewer.pas index d71a42aa4..d1bc7acff 100644 --- a/components/lazmapviewer/source/mvmapviewer.pas +++ b/components/lazmapviewer/source/mvmapviewer.pas @@ -605,7 +605,7 @@ var begin if Assigned(FOnDrawGpsPoint) then begin {$IFDEF USE_RGBGRAPHICS} - FOnDrawGpsPoint(Self, Buffer, aPOI) + FOnDrawGpsPoint(Self, Buffer, aPOI); {$ENDIF} {$IFDEF USE_LAZINTFIMAGE} FOnDrawGpsPoint(Self, BufferCanvas, aPOI); @@ -754,6 +754,7 @@ begin FInactiveColor := clWhite; FEngine := TMapViewerEngine.Create(self); FBuiltinDownloadEngine := TMvDEFpc.Create(self); + FBuiltinDownLoadEngine.Name := 'BuiltIn'; {$IFDEF USE_RGBGRAPHICS} Buffer := TRGB32Bitmap.Create(Width, Height); {$ENDIF}