From 14ffde12395ead72da7ecff2580da22ea38061ff Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 10 Jun 2012 18:19:40 +0200 Subject: flite: indicate end of options on command line. As with espeak, a string starting with - is wrongly interpreted as command line option. Explicitly end options using -- to fix this. Change-Id: I47b2f1c4ba236638b1f625e5bcf3262f47071c9c --- rbutil/rbutilqt/base/ttsexes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rbutil/rbutilqt/base/ttsexes.cpp') diff --git a/rbutil/rbutilqt/base/ttsexes.cpp b/rbutil/rbutilqt/base/ttsexes.cpp index 6fdb3c680c..5d06d6c1e6 100644 --- a/rbutil/rbutilqt/base/ttsexes.cpp +++ b/rbutil/rbutilqt/base/ttsexes.cpp @@ -26,7 +26,7 @@ TTSExes::TTSExes(QString name,QObject* parent) : TTSBase(parent) m_TemplateMap["espeak"] = "\"%exe\" %options -w \"%wavfile\" -- \"%text\""; m_TemplateMap["flite"] = "\"%exe\" %options -o \"%wavfile\" -t \"%text\""; - m_TemplateMap["swift"] = "\"%exe\" %options -o \"%wavfile\" \"%text\""; + m_TemplateMap["swift"] = "\"%exe\" %options -o \"%wavfile\" -- \"%text\""; } -- cgit v1.2.3