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";
|
||||
}
|
||||
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)
|
||||
format_str = "Stay on %2$s by going %1$s.";
|
||||
format_str = "Stay on %2$s by going %1$s";
|
||||
else
|
||||
format_str = "Go %s onto %s.";
|
||||
format_str = "Go %s onto %s";
|
||||
|
||||
if (node_last != search->start)
|
||||
sdprintf(buf, &offset, ",");
|
||||
|
Loading…
Reference in New Issue
Block a user