1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Dominik Riebeling 2012-06-10 18:19:40 +02:00
parent d023bf0f5d
commit 14ffde1239

View file

@ -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\"";
}