summaryrefslogtreecommitdiff
path: root/navit/navit.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-04-26 22:56:54 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-04-26 22:56:54 +0000
commit5db86e0f4808ecad2633fb58de3ad2c16acaf714 (patch)
treebf55bdc14cff1244656b4beff9e423c00428d8c9 /navit/navit.c
parent1bc66daaf2d2b9f14ad0e1a24040ac96df542d6d (diff)
downloadnavit-5db86e0f4808ecad2633fb58de3ad2c16acaf714.tar.gz
Fix:Core:Remove osd reference on remove attr
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5450 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.c')
-rw-r--r--navit/navit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/navit.c b/navit/navit.c
index 8cfbc3aea..68f7f15ba 100644
--- a/navit/navit.c
+++ b/navit/navit.c
@@ -2902,6 +2902,7 @@ navit_remove_attr(struct navit *this_, struct attr *attr)
navit_remove_callback(this_, attr->u.callback);
break;
case attr_vehicle:
+ case attr_osd:
this_->attrs=attr_generic_remove_attr(this_->attrs, attr);
return 1;
default: