summaryrefslogtreecommitdiff
path: root/navit/speech.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/speech.c')
-rw-r--r--navit/speech.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/navit/speech.c b/navit/speech.c
index cabd998dc..d1ebcc276 100644
--- a/navit/speech.c
+++ b/navit/speech.c
@@ -41,25 +41,25 @@ speech_new(struct attr *parent, struct attr **attrs)
attr=attr_search(attrs, NULL, attr_type);
if (! attr) {
- dbg(lvl_error,"type missing\n");
+ dbg(lvl_error,"type missing");
return NULL;
}
- dbg(lvl_debug,"type='%s'\n", attr->u.str);
+ dbg(lvl_debug,"type='%s'", attr->u.str);
speech_new=plugin_get_category_speech(attr->u.str);
- dbg(lvl_debug,"new=%p\n", speech_new);
+ dbg(lvl_debug,"new=%p", speech_new);
if (! speech_new) {
- dbg(lvl_error,"wrong type '%s'\n", attr->u.str);
+ dbg(lvl_error,"wrong type '%s'", attr->u.str);
return NULL;
}
this_=(struct speech *)navit_object_new(attrs, &speech_func, sizeof(struct speech));
this_->priv=speech_new(&this_->meth, this_->attrs, parent);
- dbg(lvl_debug, "say=%p\n", this_->meth.say);
- dbg(lvl_debug,"priv=%p\n", this_->priv);
+ dbg(lvl_debug, "say=%p", this_->meth.say);
+ dbg(lvl_debug,"priv=%p", this_->priv);
if (! this_->priv) {
speech_destroy(this_);
return NULL;
}
- dbg(lvl_debug,"return %p\n", this_);
+ dbg(lvl_debug,"return %p", this_);
return this_;
}
@@ -75,7 +75,7 @@ speech_destroy(struct speech *this_)
int
speech_say(struct speech *this_, const char *text)
{
- dbg(lvl_debug, "this_=%p text='%s' calling %p\n", this_, text, this_->meth.say);
+ dbg(lvl_debug, "this_=%p text='%s' calling %p", this_, text, this_->meth.say);
return (this_->meth.say)(this_->priv, text);
}