From befcfae339838db7e7c21be548b3d67fad8b73ef Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 13 Jun 2013 23:32:08 +0200 Subject: [PATCH] fix typo --- OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index 4af9adb27d..a5d6c814bb 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -1257,7 +1257,7 @@ public class MapActivityActions implements DialogProvider { onShow.onClick(v); } //targetPointsHelper.setSingleDestination(location.getLatitude(), location.getLongitude(), name); - getMyApplication().getSettings().setPointToNavigate(latitude, longitude, true, name); + getMyApplication().getSettings().setPointToNavigate(location.getLatitude(), location.getLongitude(), true, name); targetPointsHelper.updatePointsFromSettings(); // always enable and follow and let calculate it (GPS is not accessible in garage) if(!routingHelper.isRouteBeingCalculated() && !routingHelper.isRouteCalculated() ) {