diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-05-06 16:07:47 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-05-06 16:07:47 +0000 |
commit | 0add34212e7eef985193d57da3bf00bd09da09ed (patch) | |
tree | d2849dff852ccf3a9b28bec386d1fcf8ccfea737 /navit/navit.c | |
parent | 85febc05f2d89862a6b13fdb2647a9e9bdcd1522 (diff) | |
download | navit-svn-0add34212e7eef985193d57da3bf00bd09da09ed.tar.gz |
Fix:Core:Make vehicle profile order as it appears in xml file
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5082 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.c')
-rw-r--r-- | navit/navit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/navit.c b/navit/navit.c index c9572d7c..440df365 100644 --- a/navit/navit.c +++ b/navit/navit.c @@ -2803,7 +2803,7 @@ navit_add_attr(struct navit *this_, struct attr *attr) ret=navit_add_vehicle(this_, attr->u.vehicle); break; case attr_vehicleprofile: - this_->vehicleprofiles=g_list_prepend(this_->vehicleprofiles, attr->u.vehicleprofile); + this_->vehicleprofiles=g_list_append(this_->vehicleprofiles, attr->u.vehicleprofile); break; case attr_autozoom_min: this_->autozoom_min = attr->u.num; |