From 1e5476c06e854bfa5ff92140957d64e4f61ee21a Mon Sep 17 00:00:00 2001 From: kazer_ Date: Sat, 30 Jan 2010 17:44:57 +0000 Subject: [PATCH] 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 --- navit/navit/map/mg/map.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.7.4