forked from len0rd/rockbox
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
This commit is contained in:
parent
586cfa3a91
commit
2311eeaf5c
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue