summaryrefslogtreecommitdiff
path: root/navit/speech.c
diff options
context:
space:
mode:
authorjandegr <jandegr@users.noreply.github.com>2018-05-02 10:02:46 +0200
committerGitHub <noreply@github.com>2018-05-02 10:02:46 +0200
commitde4680665398c523dfaa0879c18b0f6e39264d57 (patch)
tree5769f2076e6e041c07ad7fd6fa052ae0b8e5b914 /navit/speech.c
parent53315091a2aa5a4469a743f29516cc1ae78b6b14 (diff)
parenta9f61c26e31eca52b1bf1a444f6283bb26bc2391 (diff)
downloadnavit-Android_gradle.tar.gz
Merge branch 'trunk' into Android_gradleAndroid_gradle
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);
}