summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAlessio Lenzi <lenzone10@rockbox.org>2009-11-04 23:10:09 +0000
committerAlessio Lenzi <lenzone10@rockbox.org>2009-11-04 23:10:09 +0000
commit06e0bfddad5fbc3d5944fe7f52952f6726b43651 (patch)
tree721e9f85cb985d04e1fe66f3141a6d2eac3433d0 /apps
parent0c717cc4b4bd29f697a58b2e52a93d08ec6ae27b (diff)
Spoken correction for OUTro value in SKIPLENGTH function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23528 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/settings_list.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index c92772beb9..b0a1a76b3a 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -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)
{
(void)unit;
- if (value == 0)
+ if (value == -1)
+ return LANG_SKIP_OUTRO;
+ else if (value == 0)
return LANG_SKIP_TRACK;
else if (value % 60 == 0)
return TALK_ID(value/60, UNIT_MIN);