summaryrefslogtreecommitdiff
path: root/tools/genlang
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 /tools/genlang
parent7c52a17b9f332b2245c8a341b8aea3a1dbe064af (diff)
downloadrockbox-9e2886366984e2e54bcc378cade68bf96b1c78b5.tar.gz
rockbox-9e2886366984e2e54bcc378cade68bf96b1c78b5.zip
lang.h voice comments were off by 1, fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26296 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/genlang')
-rwxr-xr-xtools/genlang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genlang b/tools/genlang
index ee57396d89..22d020fe5a 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -390,7 +390,7 @@ my @voiceid; # counter for voice-only ID numbers
390 390
391for (keys %users) { 391for (keys %users) {
392 push @idcount, 0; 392 push @idcount, 0;
393 push @voiceid, 0x8000; 393 push @voiceid, 0x8001;
394} 394}
395 395
396# 396#
@@ -653,7 +653,7 @@ MOO
653 ; 653 ;
654 654
655# Output the ID names for the enum in the header file 655# Output the ID names for the enum in the header file
656 for $i (0x8000 .. ($voiceid[$users{"core"}]-1)) { 656 for $i (0x8001 .. ($voiceid[$users{"core"}]-1)) {
657 my $name=$idnum[$users{"core"}][$i]; # get the ID name 657 my $name=$idnum[$users{"core"}][$i]; # get the ID name
658 658
659 $name =~ s/\"//g; # cut off the quotes 659 $name =~ s/\"//g; # cut off the quotes