Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-05-07 23:24:57 +02:00
commit ed7bc28808

View file

@ -483,7 +483,7 @@ public class RoutingHelper {
route.passIntermediatePoint();
TargetPointsHelper targets = app.getTargetPointsHelper();
String name = "";
if(intermediatePoints != null ) {
if(intermediatePoints != null && !intermediatePoints.isEmpty()) {
LatLon rm = intermediatePoints.remove(0);
List<TargetPoint> ll = targets.getIntermediatePointsNavigation();
int ind = -1;