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:
parent
7c52a17b9f
commit
9e28863669
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue