From d84f8bed00cfda70cc132ccb3291fa933480e5c6 Mon Sep 17 00:00:00 2001 From: PaulStets Date: Thu, 18 Mar 2021 11:45:10 +0200 Subject: [PATCH] Formatting fixes --- .../plus/routepreparationmenu/RoutingOptionsHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/routepreparationmenu/RoutingOptionsHelper.java b/OsmAnd/src/net/osmand/plus/routepreparationmenu/RoutingOptionsHelper.java index 068d9ac4b7..30307d6e66 100644 --- a/OsmAnd/src/net/osmand/plus/routepreparationmenu/RoutingOptionsHelper.java +++ b/OsmAnd/src/net/osmand/plus/routepreparationmenu/RoutingOptionsHelper.java @@ -250,10 +250,10 @@ public class RoutingOptionsHelper { Location firstLoc = ps.get(0); LatLon firstLatLon = new LatLon(firstLoc.getLatitude(), firstLoc.getLongitude()); LatLon endLocation = endPoint != null ? endPoint.point : new LatLon(lastLoc.getLatitude(), lastLoc.getLongitude()); - LatLon startLoc = selected ? firstLatLon : (pointToNavigate != null ? pointToNavigate.point : firstLatLon); - tg.navigateToPoint(endLocation, false, -1); + LatLon startLocation = selected ? firstLatLon : (pointToNavigate != null ? pointToNavigate.point : firstLatLon); + tg.navigateToPoint(endLocation, false, -1); if (pointToStart != null) { - tg.setStartPoint(startLoc, false, null); + tg.setStartPoint(startLocation, false, null); } tg.updateRouteAndRefresh(true); } else {