From: kazer_ Date: Sat, 30 Jan 2010 17:44:57 +0000 (+0000) Subject: Fix:Mg:Applied patch from ticket #526, broken M&G street search X-Git-Tag: navit-0.5.0.5194svn~2255 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e5476c06e854bfa5ff92140957d64e4f61ee21a;p=profile%2Fivi%2Fnavit.git Fix:Mg:Applied patch from ticket #526, broken M&G street search git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@2936 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/map/mg/map.c b/navit/navit/map/mg/map.c index 61099f3..507e066 100644 --- a/navit/navit/map/mg/map.c +++ b/navit/navit/map/mg/map.c @@ -307,6 +307,10 @@ map_rect_get_item_byid_mg(struct map_rect_priv *mr, int id_hi, int id_lo) if (street_get_byid(mr, &mr->street, id_hi, id_lo, &mr->item)) return &mr->item; break; + case file_strname_stn: + if (street_name_get_byid(mr, &mr->street, id_hi, id_lo, &mr->item)) + return &mr->item; + break; default: if (poly_get_byid(mr, &mr->poly, id_hi, id_lo, &mr->item)) return &mr->item;