summaryrefslogtreecommitdiff
path: root/navit/attr.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-02-06 23:08:45 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-02-06 23:08:45 +0000
commit7f7511dab7d422363f33830b6cb0081dedafa016 (patch)
tree5debfeafb78c3597476d6d142f05c92be72f95d3 /navit/attr.h
parentde3aab82e0f49232be9526c1c4d99864a5b0cc7a (diff)
downloadnavit-7f7511dab7d422363f33830b6cb0081dedafa016.tar.gz
Fix:Core:Correct handling of attribute query
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2951 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/attr.h')
-rw-r--r--navit/attr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/attr.h b/navit/attr.h
index 5c2ec8132..5391018c0 100644
--- a/navit/attr.h
+++ b/navit/attr.h
@@ -83,6 +83,7 @@ enum attr_position_valid {
#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;