summaryrefslogtreecommitdiff
path: root/navit/speech.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/speech.c')
-rw-r--r--navit/speech.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/speech.c b/navit/speech.c
index fa560635c..2f219d469 100644
--- a/navit/speech.c
+++ b/navit/speech.c
@@ -38,7 +38,7 @@ speech_new(struct attr *parent, struct attr **attrs) {
struct speech_priv *(*speech_new)(struct speech_methods *meth, struct attr **attrs, struct attr *parent);
struct attr *attr;
- attr=attr_search(attrs, NULL, attr_type);
+ attr=attr_search(attrs, attr_type);
if (! attr) {
dbg(lvl_error,"type missing");
return NULL;