diff options
| author | kazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-01-30 17:44:57 +0000 |
|---|---|---|
| committer | kazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-01-30 17:44:57 +0000 |
| commit | e88f7b2d1633d739da2f86e0e1ba9d9dbd60ad6e (patch) | |
| tree | 6fe7c772d42b48b7e7631b4a866f3535523748f7 /navit/map/mg/map.c | |
| parent | c331821a868e0f65242c3fc0a9824a8707ccc9b3 (diff) | |
| download | navit-e88f7b2d1633d739da2f86e0e1ba9d9dbd60ad6e.tar.gz | |
Fix:Mg:Applied patch from ticket #526, broken M&G street search
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2936 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map/mg/map.c')
| -rw-r--r-- | navit/map/mg/map.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/navit/map/mg/map.c b/navit/map/mg/map.c index 61099f342..507e066e0 100644 --- a/navit/map/mg/map.c +++ b/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; |
