fix FS#13864: Last char of folder and filename not voiced

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Thu, 16 Apr 2026 07:57:21 -0400
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit fd7ae09e7ac6d63e50b82441fc2eb42fb5427877
Author: Christian Soffke <[email protected]>
Date:   Thu Apr 16 13:03:09 2026 +0200

    fix FS#13864: Last char of folder and filename not voiced
    
    Change-Id: I9c237bb7721224c6ba44b6511d72094722fa980c

diff --git a/apps/talk.c b/apps/talk.c
index 167c41e6e8..9aaa93e70f 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -765,7 +765,7 @@ static int _talk_spell(const char* spell, size_t len, bool enqueue)
     do_enqueue(enqueue); /* cut off all the pending stuff */
 
     const char *last = spell;
-    size_t len0 = len - 1;
+    size_t len0 = len;
     /* Tokenize into UTF8 codepoints */
     while ((spell = utf8decode(spell, &c)), c != '\0')
     {
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs