diff options
-rw-r--r-- | apps/talk.c | 2 | ||||
-rwxr-xr-x | 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) | |||
630 | 630 | ||
631 | #ifdef LOGF_ENABLE | 631 | #ifdef LOGF_ENABLE |
632 | if (id > VOICEONLY_DELIMITER) | 632 | if (id > VOICEONLY_DELIMITER) |
633 | logf("\ntalk_id: Say voice clip 0x%x\n", id - 1); | 633 | logf("\ntalk_id: Say voice clip 0x%x\n", id); |
634 | else | 634 | else |
635 | logf("\ntalk_id: Say '%s'\n", str(id)); | 635 | logf("\ntalk_id: Say '%s'\n", str(id)); |
636 | #endif | 636 | #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 | |||
390 | 390 | ||
391 | for (keys %users) { | 391 | for (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 |