lang.h voice comments were off by 1, fixed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26296 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jeffrey Goode 2010-05-26 03:51:13 +00:00
parent 7c52a17b9f
commit 9e28863669
2 changed files with 3 additions and 3 deletions

View file

@ -630,7 +630,7 @@ int talk_id(int32_t id, bool enqueue)
#ifdef LOGF_ENABLE #ifdef LOGF_ENABLE
if (id > VOICEONLY_DELIMITER) 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 else
logf("\ntalk_id: Say '%s'\n", str(id)); logf("\ntalk_id: Say '%s'\n", str(id));
#endif #endif

View file

@ -390,7 +390,7 @@ my @voiceid; # counter for voice-only ID numbers
for (keys %users) { for (keys %users) {
push @idcount, 0; 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 # 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 my $name=$idnum[$users{"core"}][$i]; # get the ID name
$name =~ s/\"//g; # cut off the quotes $name =~ s/\"//g; # cut off the quotes