summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt
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
parentd023bf0f5dedb67caf9229e3ddcbb5a9fea420ce (diff)
downloadrockbox-14ffde12395ead72da7ecff2580da22ea38061ff.tar.gz
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')
-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)
26 26
27 m_TemplateMap["espeak"] = "\"%exe\" %options -w \"%wavfile\" -- \"%text\""; 27 m_TemplateMap["espeak"] = "\"%exe\" %options -w \"%wavfile\" -- \"%text\"";
28 m_TemplateMap["flite"] = "\"%exe\" %options -o \"%wavfile\" -t \"%text\""; 28 m_TemplateMap["flite"] = "\"%exe\" %options -o \"%wavfile\" -t \"%text\"";
29 m_TemplateMap["swift"] = "\"%exe\" %options -o \"%wavfile\" \"%text\""; 29 m_TemplateMap["swift"] = "\"%exe\" %options -o \"%wavfile\" -- \"%text\"";
30 30
31} 31}
32 32