diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-06-10 18:19:40 +0200 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-06-10 18:20:39 +0200 |
| commit | 14ffde12395ead72da7ecff2580da22ea38061ff (patch) | |
| tree | ae1a6d7d395dcf2cf83e3092b143ac31d37cca53 | |
| parent | d023bf0f5dedb67caf9229e3ddcbb5a9fea420ce (diff) | |
| download | rockbox-14ffde12395ead72da7ecff2580da22ea38061ff.zip rockbox-14ffde12395ead72da7ecff2580da22ea38061ff.tar.gz rockbox-14ffde12395ead72da7ecff2580da22ea38061ff.tar.bz2 rockbox-14ffde12395ead72da7ecff2580da22ea38061ff.tar.xz | |
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
| -rw-r--r-- | rbutil/rbutilqt/base/ttsexes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/ttsexes.cpp b/rbutil/rbutilqt/base/ttsexes.cpp index 6fdb3c6..5d06d6c 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\""; } |