summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-02-13 19:16:46 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-02-13 19:16:46 +0000
commite319f68a814b902bc01cb2f61059d12b9939774a (patch)
tree78a8c2056e1a3de3b5cac1c23355473595d0a861
parentb30181a14bd18743af122442f50a031bdec2b829 (diff)
downloadrockbox-rbutil_m1.0.4.tar.gz
rockbox-rbutil_m1.0.4.tar.bz2
rockbox-rbutil_m1.0.4.zip
rbutil:check if a Sapi voice is selected. rbutil_m1.0.4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16307 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/rbutilqt/tts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/tts.cpp b/rbutil/rbutilqt/tts.cpp
index 1cc6c20472..f9afd1e1a7 100644
--- a/rbutil/rbutilqt/tts.cpp
+++ b/rbutil/rbutilqt/tts.cpp
@@ -300,6 +300,8 @@ void TTSSapi::showCfg()
bool TTSSapi::configOk()
{
+ if(settings->ttsVoice("sapi").isEmpty())
+ return false;
return true;
}