diff options
author | jandegr <jandegr@users.noreply.github.com> | 2015-10-02 20:20:47 +0200 |
---|---|---|
committer | jandegr <jandegr@users.noreply.github.com> | 2015-10-02 20:20:47 +0200 |
commit | 5537028688c8dbeb300396f98958a8313b2e800b (patch) | |
tree | 5596fef730af447c67d3b3e21183f8701934961b /navit/navigation.c | |
parent | e9c2e4cf73cafbc90e22bc1a938c537307442619 (diff) | |
download | navit-5537028688c8dbeb300396f98958a8313b2e800b.tar.gz |
whitespaces
Diffstat (limited to 'navit/navigation.c')
-rw-r--r-- | navit/navigation.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/navit/navigation.c b/navit/navigation.c index 6f889373a..7a04fd36f 100644 --- a/navit/navigation.c +++ b/navit/navigation.c @@ -1623,8 +1623,7 @@ navigation_itm_new(struct navigation *this_, struct item *routeitem) ret->way.item=*streetitem; item_hash_insert(this_->hash, streetitem, ret); - mr=map_rect_new(streetitem->map, NULL); - + mr=map_rect_new(streetitem->map, NULL); struct map *tmap = streetitem->map; if (! (streetitem=map_rect_get_item_byid(mr, streetitem->id_hi, streetitem->id_lo))) { @@ -1679,10 +1678,8 @@ navigation_itm_new(struct navigation *this_, struct item *routeitem) } } } - navigation_itm_update(ret, routeitem); - while (item_coord_get(routeitem, &c[i], 1)) { dbg(lvl_debug, "coord %d 0x%x 0x%x\n", i, c[i].x ,c[i].y); @@ -1721,9 +1718,7 @@ navigation_itm_new(struct navigation *this_, struct item *routeitem) * If present, obtain exit_ref, exit_label and exit_to * from the map. */ - if ((streetitem->type == type_ramp) || ( - ret->way.next && ret->way.next->next && - ((streetitem->type == type_highway_land) + if ((streetitem->type == type_ramp) || (ret->way.next && ret->way.next->next && ((streetitem->type == type_highway_land) || (streetitem->type == type_highway_city) || (streetitem->type == type_street_n_lanes)))) { struct map_selection mselexit; |