From: rikky Date: Mon, 22 Aug 2011 22:49:14 +0000 (+0000) Subject: Fix:search:Fixed a crash while searching and hitting a street without streetname X-Git-Tag: navit-0.5.0.5194svn~500 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d08cf1ccab6dcfb6db8fea79c8fd3cade1179c86;p=profile%2Fivi%2Fnavit.git Fix:search:Fixed a crash while searching and hitting a street without streetname git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4695 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/search.c b/navit/navit/search.c index edde303..601e42b 100644 --- a/navit/navit/search.c +++ b/navit/navit/search.c @@ -1033,7 +1033,7 @@ search_address_housenumber(GList *result_list, struct search_list *sl, GList *ph while (tmp) { - if (tmp != exclude1 && tmp != exclude2 && tmp != exclude3) + if (tmp != exclude1 && tmp != exclude2 && tmp != exclude3 && slr->street) { attr2.type=attr_house_number; attr2.u.str=tmp->data;