diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-04 14:54:44 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-04 14:54:44 +0000 |
commit | afee302db6b720342b5754478f3497f0a6efd38f (patch) | |
tree | 9294253200447eee42b8889dddee70aaa6dc8f3d /navit/speech.c | |
parent | 015996569a388678be22894ed9f6f9875b4efe86 (diff) | |
download | navit-afee302db6b720342b5754478f3497f0a6efd38f.tar.gz |
Fix:Fixed speech output
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1639 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/speech.c')
-rw-r--r-- | navit/speech.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/speech.c b/navit/speech.c index 9037129b6..ba591f61d 100644 --- a/navit/speech.c +++ b/navit/speech.c @@ -33,7 +33,7 @@ struct speech * speech_new(struct attr *parent, struct attr **attrs) { struct speech *this_; - struct speech_priv *(*speech_new)(const char *data, struct speech_methods *meth); + struct speech_priv *(*speech_new)(struct speech_methods *meth, struct attr **attrs); struct attr *type; type=attr_search(attrs, NULL, attr_type); @@ -49,7 +49,7 @@ speech_new(struct attr *parent, struct attr **attrs) return NULL; } this_=g_new0(struct speech, 1); - this_->priv=speech_new(attrs, &this_->meth); + this_->priv=speech_new(&this_->meth, attrs); dbg(1, "say=%p\n", this_->meth.say); dbg(1,"priv=%p\n", this_->priv); if (! this_->priv) { |