diff --git a/OsmAnd/src/net/osmand/plus/myplaces/TrackBitmapDrawer.java b/OsmAnd/src/net/osmand/plus/myplaces/TrackBitmapDrawer.java index a1e46f7e38..efc0376ffa 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/TrackBitmapDrawer.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/TrackBitmapDrawer.java @@ -246,8 +246,8 @@ public class TrackBitmapDrawer { } } paint.setColor(color == 0 ? trackColor : color); - if(ts.renderer instanceof Renderable.RenderableSegment) { - ((Renderable.RenderableSegment)ts.renderer).drawSegment(tileBox.getZoom(), paint, canvas, tileBox); + if (ts.renderer instanceof Renderable.RenderableSegment) { + ((Renderable.RenderableSegment) ts.renderer).drawSegment(tileBox.getZoom(), paint, canvas, tileBox); } } }