summaryrefslogtreecommitdiff
path: root/apps/talk.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-05-25 12:45:57 +0000
committerJens Arnold <amiconn@rockbox.org>2006-05-25 12:45:57 +0000
commit2311eeaf5cc556ef29567cb92b59655a5df29d8b (patch)
tree1bac7917872b1c2395e9adbbf9c1778c98aae366 /apps/talk.c
parent586cfa3a91c1f66a08d32fe0222ca3f2072b4b5c (diff)
Fix: -illons weren't voiced properly since the .lang rework.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9984 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.c')
-rw-r--r--apps/talk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/talk.c b/apps/talk.c
index 6807481e0d..1a1cb81cd1 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -603,7 +603,7 @@ int talk_file(const char* filename, bool enqueue)
but not necessarily for other languages (e.g. german) */
int talk_number(long n, bool enqueue)
{
- int level = 0; /* mille count */
+ int level = 2; /* mille count */
long mil = 1000000000; /* highest possible "-illion" */
#if CONFIG_CODEC != SWCODEC
@@ -657,9 +657,9 @@ int talk_number(long n, bool enqueue)
/* add billion, million, thousand */
if (mil)
- talk_id(VOICE_BILLION + level, true);
+ talk_id(VOICE_THOUSAND + level, true);
}
- level++;
+ level--;
}
return 0;