summaryrefslogtreecommitdiff
path: root/apps/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/talk.c')
-rw-r--r--apps/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/talk.c b/apps/talk.c
index 2d27f7a399..d38432de7c 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -624,7 +624,7 @@ static bool load_voicefile_index(int fd)
624 if (voicefile.version == VOICE_VERSION && 624 if (voicefile.version == VOICE_VERSION &&
625 voicefile.target_id == TARGET_ID && 625 voicefile.target_id == TARGET_ID &&
626 voicefile.id1_max == TALK_FINAL_ID && 626 voicefile.id1_max == TALK_FINAL_ID &&
627 voicefile.id2_max == TALK_FINAL_ID_VOICEONLY - VOICEONLY_DELIMITER) 627 voicefile.id2_max == TALK_FINAL_ID_VOICEONLY - VOICEONLY_DELIMITER - 1)
628 { 628 {
629 if (load_index_table(fd, &voicefile)) 629 if (load_index_table(fd, &voicefile))
630 return true; 630 return true;