diff options
Diffstat (limited to 'navit/vehicleprofile.c')
-rw-r--r-- | navit/vehicleprofile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/vehicleprofile.c b/navit/vehicleprofile.c index 905d2defa..493646f94 100644 --- a/navit/vehicleprofile.c +++ b/navit/vehicleprofile.c @@ -211,7 +211,7 @@ struct vehicleprofile * vehicleprofile_new(struct attr *parent, struct attr **attrs) { struct vehicleprofile *this_; struct attr **attr, *type_attr; - if (! (type_attr=attr_search(attrs, NULL, attr_name))) { + if (! (type_attr=attr_search(attrs, attr_name))) { return NULL; } this_=g_new0(struct vehicleprofile, 1); |