Fix:binfile:Add living_street to search index. Otherwise they won't apear in a search...
authorrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 17 Mar 2011 22:36:31 +0000 (22:36 +0000)
committerrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 17 Mar 2011 22:36:31 +0000 (22:36 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4360 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/map/binfile/binfile.c

index da2ce79..7cec3eb 100644 (file)
@@ -2067,7 +2067,7 @@ binmap_search_get_item(struct map_search_priv *map_search)
                                        }
                                        continue;
                                }
-                               if ((it->type == type_street_3_city) || (it->type == type_street_2_city) || (it->type == type_street_1_city)) {
+                               if ((it->type == type_street_3_city) || (it->type == type_street_2_city) || (it->type == type_street_1_city) || (it->type == type_living_street)) {
                                        struct attr at;
                                        if (map_selection_contains_item_rect(map_search->mr->sel, it) && binfile_attr_get(it->priv_data, attr_label, &at)) {
                                                int i,match=0;