Remove dots at end of walking directions
This commit is contained in:
parent
601e617fe0
commit
fff25e0a24
@ -257,11 +257,11 @@ int dijkstra_search_route_to_geojson(struct dijkstra_search *search,
|
|||||||
relative_direction_str = "straight";
|
relative_direction_str = "straight";
|
||||||
}
|
}
|
||||||
if (node_last == search->start)
|
if (node_last == search->start)
|
||||||
format_str = "Start on %2$s.";
|
format_str = "Start on %2$s";
|
||||||
else if (search->states[node_last->uid]->cheapest_path->name == search->states[node->uid]->cheapest_path->name)
|
else if (search->states[node_last->uid]->cheapest_path->name == search->states[node->uid]->cheapest_path->name)
|
||||||
format_str = "Stay on %2$s by going %1$s.";
|
format_str = "Stay on %2$s by going %1$s";
|
||||||
else
|
else
|
||||||
format_str = "Go %s onto %s.";
|
format_str = "Go %s onto %s";
|
||||||
|
|
||||||
if (node_last != search->start)
|
if (node_last != search->start)
|
||||||
sdprintf(buf, &offset, ",");
|
sdprintf(buf, &offset, ",");
|
||||||
|
Loading…
Reference in New Issue
Block a user