Fix:Core:Correct coordinates for house number
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 3 Dec 2009 16:41:42 +0000 (16:41 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 3 Dec 2009 16:41:42 +0000 (16:41 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@2833 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/attr_def.h
navit/navit/search.c

index 2f2690a..e09c197 100644 (file)
@@ -281,6 +281,7 @@ ATTR(angle_range)
 ATTR(speed_range)
 ATTR(attr_types)
 ATTR(ch_edge)
+ATTR(zipfile_ref_block)
 ATTR2(0x0004ffff,type_special_end)
 ATTR2(0x00050000,type_double_begin)
 ATTR(position_height)
index 2c59607..b599872 100644 (file)
@@ -495,7 +495,7 @@ search_list_get_result(struct search_list *this_)
                                this_->result.town=this_->levels[1].last->data;
                                this_->result.street=this_->levels[2].last->data;
                                this_->result.house_number=p;
-                               this_->result.c=this_->result.street->common.c;
+                               this_->result.c=this_->result.house_number->common.c;
                                
                        }
                        if (p) {