diff options
author | mvglasow <michael -at- vonglasow.com> | 2015-11-28 15:58:07 +0100 |
---|---|---|
committer | mvglasow <michael -at- vonglasow.com> | 2015-11-28 15:58:07 +0100 |
commit | 1f37913f87b2364ce4a0cad6ce1116348a7fdd52 (patch) | |
tree | f74bf1c51682e20f0a4becc33f99503e0c7b834e | |
parent | c765ca2614b6bea27ebab990770ca60ba67a7450 (diff) | |
parent | 433f84a2c7e0484b80f9d577e6ba53104a01c12b (diff) | |
download | navit-1f37913f87b2364ce4a0cad6ce1116348a7fdd52.tar.gz |
Merge branch 'trunk' of github.com:navit-gps/navit into trunk
# Conflicts:
# navit/navit.c
-rw-r--r-- | navit/navit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/navit.c b/navit/navit.c index e54f5934b..b130ed967 100644 --- a/navit/navit.c +++ b/navit/navit.c @@ -2637,8 +2637,8 @@ navit_set_attr_do(struct navit *this_, struct attr *attr, int init) this_->waypoints_flag=!!attr->u.num; break; default: - dbg(lvl_warning, "attribute type %s not supported by navit\n", attr_to_name(attr->type)) - return 0; + dbg(lvl_debug, "calling generic setter method for attribute type %s\n", attr_to_name(attr->type)) + return navit_object_set_attr((struct navit_object *) this_, attr); } if (attr_updated && !init) { callback_list_call_attr_2(this_->attr_cbl, attr->type, this_, attr); @@ -2855,8 +2855,8 @@ navit_get_attr(struct navit *this_, enum attr_type type, struct attr *attr, stru attr->u.num=this_->waypoints_flag; break; default: - dbg(lvl_warning, "attribute type %s not supported by navit\n", attr_to_name(type)) - return 0; + dbg(lvl_debug, "calling generic getter method for attribute type %s\n", attr_to_name(type)) + return navit_object_get_attr((struct navit_object *) this_, type, attr, iter); } attr->type=type; return ret; |