summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/ttsexes.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-10 18:19:40 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-10 18:20:39 +0200
commit14ffde12395ead72da7ecff2580da22ea38061ff (patch)
treeae1a6d7d395dcf2cf83e3092b143ac31d37cca53 /rbutil/rbutilqt/base/ttsexes.cpp
parentd023bf0f5dedb67caf9229e3ddcbb5a9fea420ce (diff)
downloadrockbox-14ffde12395ead72da7ecff2580da22ea38061ff.tar.gz
rockbox-14ffde12395ead72da7ecff2580da22ea38061ff.tar.bz2
rockbox-14ffde12395ead72da7ecff2580da22ea38061ff.zip
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
Diffstat (limited to 'rbutil/rbutilqt/base/ttsexes.cpp')
-rw-r--r--rbutil/rbutilqt/base/ttsexes.cpp2
1 files changed, 1 insertions, 1 deletions
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\"";
}