summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2010-05-26 03:51:13 +0000
committerJeffrey Goode <jeffg7@gmail.com>2010-05-26 03:51:13 +0000
commit9e2886366984e2e54bcc378cade68bf96b1c78b5 (patch)
tree6d8bed57bd6d744fd3b66f89ab822a9396dd5139
parent7c52a17b9f332b2245c8a341b8aea3a1dbe064af (diff)
downloadrockbox-9e2886366984e2e54bcc378cade68bf96b1c78b5.zip
rockbox-9e2886366984e2e54bcc378cade68bf96b1c78b5.tar.gz
rockbox-9e2886366984e2e54bcc378cade68bf96b1c78b5.tar.bz2
rockbox-9e2886366984e2e54bcc378cade68bf96b1c78b5.tar.xz
lang.h voice comments were off by 1, fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26296 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/talk.c2
-rwxr-xr-xtools/genlang4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/talk.c b/apps/talk.c
index cd9f48d..e07dcb8 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -630,7 +630,7 @@ int talk_id(int32_t id, bool enqueue)
#ifdef LOGF_ENABLE
if (id > VOICEONLY_DELIMITER)
- logf("\ntalk_id: Say voice clip 0x%x\n", id - 1);
+ logf("\ntalk_id: Say voice clip 0x%x\n", id);
else
logf("\ntalk_id: Say '%s'\n", str(id));
#endif
diff --git a/tools/genlang b/tools/genlang
index ee57396..22d020f 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -390,7 +390,7 @@ my @voiceid; # counter for voice-only ID numbers
for (keys %users) {
push @idcount, 0;
- push @voiceid, 0x8000;
+ push @voiceid, 0x8001;
}
#
@@ -653,7 +653,7 @@ MOO
;
# Output the ID names for the enum in the header file
- for $i (0x8000 .. ($voiceid[$users{"core"}]-1)) {
+ for $i (0x8001 .. ($voiceid[$users{"core"}]-1)) {
my $name=$idnum[$users{"core"}][$i]; # get the ID name
$name =~ s/\"//g; # cut off the quotes