diff --git a/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java b/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java index 49c4df613b..b4341fc08e 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java +++ b/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java @@ -246,9 +246,9 @@ public class RouteCalculationResult { if(turn != null) { RouteDirectionInfo info = new RouteDirectionInfo(s.getSegmentSpeed(), turn); - if (routeInd + 1 < list.size()) { + if (routeInd < list.size()) { int lind = routeInd; - if(turn.isRoundAbout() && routeInd + 2 < list.size()) { + if(turn.isRoundAbout() && routeInd + 1 < list.size()) { // take next name for roundabout (not roundabout name) lind = routeInd + 1; }