diff options
-rw-r--r-- | navit/map/binfile/binfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/map/binfile/binfile.c b/navit/map/binfile/binfile.c index fb0f3b880..7b814c9cd 100644 --- a/navit/map/binfile/binfile.c +++ b/navit/map/binfile/binfile.c @@ -2341,7 +2341,7 @@ binmap_search_get_item(struct map_search_priv *map_search) case attr_street_name: if (map_search->mode == 1) { if (binfile_attr_get(it->priv_data, attr_street_name_match, &at) || binfile_attr_get(it->priv_data, attr_street_name, &at)) { - if (!linguistics_compare(at.u.str, map_search->search.u.str, mode) && !duplicate(map_search, it, attr_street_name,0)) { + if (!linguistics_compare(at.u.str, map_search->search.u.str, mode) && !duplicate(map_search, it, attr_street_name, attr_town_postal )) { return it; } } |