summaryrefslogtreecommitdiff
path: root/navit
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-06-28 10:18:54 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-06-28 10:18:54 +0000
commit99838c79a3dfdf531d648eab4afb978856af4143 (patch)
treebbcc5dfd357730f54247c1540f696b74a8e49de1 /navit
parent9cf56bef485d8a7d22cfc41d89e54893bb440d6d (diff)
downloadnavit-svn-99838c79a3dfdf531d648eab4afb978856af4143.tar.gz
Add:map_shapefile:none is a valid type
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3432 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit')
-rw-r--r--navit/map/shapefile/shapefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/map/shapefile/shapefile.c b/navit/map/shapefile/shapefile.c
index c2688d08..598ebf77 100644
--- a/navit/map/shapefile/shapefile.c
+++ b/navit/map/shapefile/shapefile.c
@@ -600,7 +600,7 @@ map_rect_get_item_shapefile(struct map_rect_priv *mr)
if (attr_from_line(mr->line,"type",NULL,type,NULL)) {
dbg(1,"type='%s'\n", type);
mr->item.type=item_from_name(type);
- if (mr->item.type == type_none)
+ if (mr->item.type == type_none && strcmp(type,"none"))
dbg(0,"Warning: type '%s' unknown\n", type);
} else {
dbg(0,"failed to get attribute type\n");