summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2009-08-08 13:06:01 +0000
committerDominik Wenger <domonoky@googlemail.com>2009-08-08 13:06:01 +0000
commitde460fe783389f2384a49b64a19b90253671c999 (patch)
treeb1d3aadce768132a3ec431462640bf0fb3698969
parentdc993a62c9e05a7052dbf2aff81c92bfa5194141 (diff)
downloadrockbox-de460fe783389f2384a49b64a19b90253671c999.tar.gz
rockbox-de460fe783389f2384a49b64a19b90253671c999.zip
rbutil: try to fix voicefile creation for releases. (genlang.cgi still needs fixing).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22207 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/rbutilqt/base/voicefile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/voicefile.cpp b/rbutil/rbutilqt/base/voicefile.cpp
index 3b80c1ff12..cacd0c437a 100644
--- a/rbutil/rbutilqt/base/voicefile.cpp
+++ b/rbutil/rbutilqt/base/voicefile.cpp
@@ -57,8 +57,8 @@ bool VoiceFileCreator::createVoiceFile()
QString target = info.target();
QString features = info.features();
QString version = info.version();
- version = version.left(version.indexOf("-")).remove(0,1);
-
+ version = version.left(version.indexOf("-")).remove("r");
+
//prepare download url
QUrl genlangUrl = RbSettings::value(RbSettings::GenlangUrl).toString()
+"?lang=" + m_lang + "&t=" + target + "&rev=" + version + "&f=" + features;