diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-05-05 10:05:12 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-05-05 10:05:12 +0000 |
commit | 2da21e0a6a33d016d901cdd0227b903018a0ada9 (patch) | |
tree | c717cc2d83bba34d8808297a27618e2853d313ab /navit/map | |
parent | a3f64d71e46a6cfef7e47548ea88cd78c315bf11 (diff) | |
download | navit-2da21e0a6a33d016d901cdd0227b903018a0ada9.tar.gz |
Fix:map_binfile:Made index searches for house numbers work again
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5479 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map')
-rw-r--r-- | navit/map/binfile/binfile.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/navit/map/binfile/binfile.c b/navit/map/binfile/binfile.c index 191e2e1ee..66dbbdf3f 100644 --- a/navit/map/binfile/binfile.c +++ b/navit/map/binfile/binfile.c @@ -2311,9 +2311,11 @@ binmap_search_get_item(struct map_search_priv *map_search) break; case attr_house_number: has_house_number=binfile_attr_get(it->priv_data, attr_house_number, &at); - if (has_house_number || (it->type == type_house_number) - || (it->type == type_house_number_interpolation_even) || (it->type == type_house_number_interpolation_odd) - || (it->type == type_house_number_interpolation_all) ) + if (has_house_number || it->type == type_house_number + || it->type == type_house_number_interpolation_even || it->type == type_house_number_interpolation_odd + || it->type == type_house_number_interpolation_all + || (map_search->mode == 0 && item_is_street(*it)) + ) { if (has_house_number) { |