summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--navit/item.h2
-rw-r--r--navit/item_def.h18
2 files changed, 18 insertions, 2 deletions
diff --git a/navit/item.h b/navit/item.h
index a419e9d54..1a65a6587 100644
--- a/navit/item.h
+++ b/navit/item.h
@@ -52,7 +52,7 @@ extern int default_flags[];
#define item_is_district(item) ((item).type >= type_district_label && (item).type <= type_district_label_1e7)
#define item_is_poly_place(item) ((item).type >= type_poly_place1 && (item).type <= type_poly_place6)
#define item_is_point(item) ((item).type < type_line)
-#define item_is_custom_poi(item) ((item).type >= type_poi_custom0 && (item).type < type_line)
+#define item_is_custom_poi(item) ((item).type >= type_poi_customg && (item).type < type_line)
#define item_is_street(item) (((item).type >= type_street_0 && (item).type < type_street_1_land) \
|| (item).type == type_street_pedestrian \
|| (item).type == type_living_street \
diff --git a/navit/item_def.h b/navit/item_def.h
index e598dd598..1796c7c54 100644
--- a/navit/item_def.h
+++ b/navit/item_def.h
@@ -350,7 +350,23 @@ ITEM(poi_hindu)
ITEM(poi_buddhist)
ITEM(poi_bahai)
ITEM(found_item)
-ITEM2(0x7ffffff0,poi_custom0)
+ITEM2(0x7fffffe0,poi_customg)
+ITEM(poi_customh)
+ITEM(poi_customi)
+ITEM(poi_customj)
+ITEM(poi_customk)
+ITEM(poi_customl)
+ITEM(poi_customm)
+ITEM(poi_customn)
+ITEM(poi_customo)
+ITEM(poi_customp)
+ITEM(poi_customq)
+ITEM(poi_customr)
+ITEM(poi_customs)
+ITEM(poi_customt)
+ITEM(poi_customu)
+ITEM(poi_customv)
+ITEM(poi_custom0)
ITEM(poi_custom1)
ITEM(poi_custom2)
ITEM(poi_custom3)