1
0
Fork 0
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:
Jens Arnold 2006-05-25 12:45:57 +00:00
parent 586cfa3a91
commit 2311eeaf5c

View file

@ -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;