diff options
Diffstat (limited to 'navit/map.c')
-rw-r--r-- | navit/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/map.c b/navit/map.c index 66b1cd303..c8cddbcc2 100644 --- a/navit/map.c +++ b/navit/map.c @@ -92,7 +92,7 @@ struct map * map_new(struct attr *parent, struct attr **attrs) { struct map *m; struct map_priv *(*maptype_new)(struct map_methods *meth, struct attr **attrs, struct callback_list *cbl); - struct attr *type=attr_search(attrs, NULL, attr_type); + struct attr *type=attr_search(attrs, attr_type); if (! type) { dbg(lvl_error,"missing type"); |