From f851130509148f5d44a2e77994251d83b038b5eb Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 9 Aug 2016 17:31:40 +0200 Subject: [PATCH] fix typo --- OsmAnd/src/net/osmand/plus/routing/RouteProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java b/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java index 5e097d8708..483b0825ff 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java +++ b/OsmAnd/src/net/osmand/plus/routing/RouteProvider.java @@ -1093,7 +1093,7 @@ public class RouteProvider { // Collect distances for subsequent suppressed turns int collectedDistance = 0; for (int j = i + 1; j < directionInfo.size(); j++) { - if (directionInfo.get(j).getTurnType() != null && dirInfo.getTurnType().isSkipToSpeak()) { + if (directionInfo.get(j).getTurnType() != null && directionInfo.get(j).getTurnType().isSkipToSpeak()) { collectedDistance += directionInfo.get(j).getDistance(); } else { break;