forked from len0rd/rockbox
Spoken correction for OUTro value in SKIPLENGTH function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23528 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0c717cc4b4
commit
06e0bfddad
1 changed files with 3 additions and 1 deletions
|
|
@ -307,7 +307,9 @@ static const char* formatter_unit_0_is_skip_track(char *buffer, size_t buffer_si
|
||||||
static int32_t getlang_unit_0_is_skip_track(int value, int unit)
|
static int32_t getlang_unit_0_is_skip_track(int value, int unit)
|
||||||
{
|
{
|
||||||
(void)unit;
|
(void)unit;
|
||||||
if (value == 0)
|
if (value == -1)
|
||||||
|
return LANG_SKIP_OUTRO;
|
||||||
|
else if (value == 0)
|
||||||
return LANG_SKIP_TRACK;
|
return LANG_SKIP_TRACK;
|
||||||
else if (value % 60 == 0)
|
else if (value % 60 == 0)
|
||||||
return TALK_ID(value/60, UNIT_MIN);
|
return TALK_ID(value/60, UNIT_MIN);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue