From 1edc780af0f7a0d98c506cf9575d55cc228b4ddf Mon Sep 17 00:00:00 2001 From: plum_ Date: Fri, 22 Feb 2008 10:36:45 +0000 Subject: [PATCH] Fix:core:no town name was displayed in search git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@902 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navit/src/search.c b/navit/src/search.c index e6f35f9..db89c14 100644 --- a/navit/src/search.c +++ b/navit/src/search.c @@ -139,7 +139,7 @@ search_list_town_new(struct item *item) } else ret->item=*item; - if (item_attr_get(item, attr_town_name, &attr)) + if (item_attr_get(item, attr_label, &attr)) ret->name=map_convert_string(item->map,attr.u.str); if (item_attr_get(item, attr_town_postal, &attr)) ret->postal=map_convert_string(item->map,attr.u.str); -- 2.7.4