From 9e2886366984e2e54bcc378cade68bf96b1c78b5 Mon Sep 17 00:00:00 2001 From: Jeffrey Goode Date: Wed, 26 May 2010 03:51:13 +0000 Subject: [PATCH] lang.h voice comments were off by 1, fixed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26296 a1c6a512-1295-4272-9138-f99709370657 --- apps/talk.c | 2 +- tools/genlang | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/talk.c b/apps/talk.c index cd9f48df91..e07dcb8262 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 ee57396d89..22d020fe5a 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