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

Change-Id: I9c237bb7721224c6ba44b6511d72094722fa980c
This commit is contained in:
Christian Soffke 2026-04-16 13:03:09 +02:00 committed by Solomon Peachy
parent a1ccb79727
commit fd7ae09e7a

View file

@ -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')
{