Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-05-06 23:22:36 +02:00
commit 8d86f52093

View file

@ -334,7 +334,7 @@ public class RoutePlannerFrontEnd {
runRecalculation = rlist.size() > 0;
if (rlist.size() > 0) {
RouteSegment previous = null;
for (int i = 0; i < rlist.size() - 1; i++) {
for (int i = 0; i <= rlist.size() - 1; i++) {
RouteSegmentResult rr = rlist.get(i);
RouteSegment segment = new RouteSegment(rr.getObject(), rr.getEndPointIndex());
if (previous != null) {