git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@2951
ffa7fe5e-494d-0410-b361-
a75ebd5db220
#define ATTR_IS_OBJECT(x) ((x) >= attr_type_object_begin && (x) <= attr_type_object_end)
#define ATTR_IS_COORD_GEO(x) ((x) >= attr_type_coord_geo_begin && (x) <= attr_type_coord_geo_end)
#define ATTR_IS_NUMERIC(x) (ATTR_IS_INT(x) || ATTR_IS_DOUBLE(x))
+#define ATTR_IS_COLOR(x) ((x) >= attr_type_color_begin && (x) <= attr_type_color_end)
struct attr {
enum attr_type type;
break;
case attr_mapset:
attr->u.mapset=this_->mapsets->data;
- return (attr->u.mapset != NULL);
+ ret=(attr->u.mapset != NULL);
+ break;
case attr_navigation:
attr->u.navigation=this_->navigation;
break;