summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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