diff options
-rw-r--r-- | navit/attr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/attr.c b/navit/attr.c index 2ae4cec65..4ca3868e6 100644 --- a/navit/attr.c +++ b/navit/attr.c @@ -860,6 +860,8 @@ attr_dup_content(struct attr *src, struct attr *dst) dst->type=src->type; if (src->type >= attr_type_int_begin && src->type <= attr_type_int_end) dst->u.num=src->u.num; + else if (src->type == attr_item_type) + dst->u.item_type=src->u.item_type; else if (src->type >= attr_type_object_begin && src->type <= attr_type_object_end) { if (HAS_OBJECT_FUNC(src->type)) { struct navit_object *obj=src->u.data; |