diff options
Diffstat (limited to 'navit/xmlconfig.c')
-rw-r--r-- | navit/xmlconfig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/navit/xmlconfig.c b/navit/xmlconfig.c index 9dd102cb8..616c8d3ab 100644 --- a/navit/xmlconfig.c +++ b/navit/xmlconfig.c @@ -266,7 +266,6 @@ static struct object_func object_funcs[] = { { attr_route, NEW(route_new), GET(route_get_attr), NULL, NULL, SET(route_set_attr), ADD(route_add_attr), REMOVE(route_remove_attr)}, { attr_speech, NEW(speech_new), GET(speech_get_attr), NULL, NULL, SET(speech_set_attr)}, { attr_text, NEW(text_new)}, - { attr_vehicleprofile, NEW(vehicleprofile_new), GET(vehicleprofile_get_attr), NULL, NULL, SET(vehicleprofile_set_attr), ADD(vehicleprofile_add_attr) }, }; struct object_func * @@ -288,6 +287,8 @@ object_func_lookup(enum attr_type type) return &tracking_func; case attr_vehicle: return &vehicle_func; + case attr_vehicleprofile: + return &vehicleprofile_func; default: for (i = 0 ; i < sizeof(object_funcs)/sizeof(struct object_func); i++) { if (object_funcs[i].type == type) |