summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjandegr <jandegr@users.noreply.github.com>2017-05-17 17:34:13 +0200
committerGitHub <noreply@github.com>2017-05-17 17:34:13 +0200
commitb12c4636987b7ba4799ae20bb722cde2ee429560 (patch)
tree21bf6e914fc634e6adcdb034603c27f21b524dfe
parent908769bb8af00e115b29506ab0c94b4ea3978886 (diff)
downloadnavit-search_dupl_check.tar.gz
Update binfile.csearch_dupl_check
-rw-r--r--navit/map/binfile/binfile.c2
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;
}
}