From 1a52c0c97177a8e5a0c6a994feec74bcacb0a434 Mon Sep 17 00:00:00 2001 From: sonora Date: Wed, 23 Oct 2013 23:09:02 +0200 Subject: [PATCH] remove typo 2 --- OsmAnd/src/net/osmand/plus/activities/MapActivity.java | 2 +- OsmAnd/src/net/osmand/plus/base/MapViewTrackingUtilities.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index ff093bee6f..bd0e992dd5 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -366,7 +366,7 @@ public class MapActivity extends AccessibleActivity { public void changeZoom(int stp){ // delta = Math.round(delta * OsmandMapTileView.ZOOM_DELTA) * OsmandMapTileView.ZOOM_DELTA_1; boolean changeLocation = true; - if (settings.AUTO_ZOOM_MAP.get() == settings.AutoZoomMap.NONE) { + if (settings.AUTO_ZOOM_MAP.get() == AutoZoomMap.NONE) { changeLocation = false; } final int newZoom = mapView.getZoom() + stp; diff --git a/OsmAnd/src/net/osmand/plus/base/MapViewTrackingUtilities.java b/OsmAnd/src/net/osmand/plus/base/MapViewTrackingUtilities.java index 2cfb5db71d..8155bdd72b 100644 --- a/OsmAnd/src/net/osmand/plus/base/MapViewTrackingUtilities.java +++ b/OsmAnd/src/net/osmand/plus/base/MapViewTrackingUtilities.java @@ -80,7 +80,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc public void updateLocation(Location location) { if (mapView != null) { if (isMapLinkedToLocation() && location != null) { - if (settings.AUTO_ZOOM_MAP.get() != settings.AutoZoomMap.NONE) { + if (settings.AUTO_ZOOM_MAP.get() != AutoZoomMap.NONE) { autozoom(location); } int currentMapRotation = settings.ROTATE_MAP.get();