Browse Source

IsLetterGroup: Also handle case when *word is already \0 (#2087)

master
Samuel Thibault 5 months ago
parent
commit
f76af837ca
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/libespeak-ng/dictionary.c

+ 2
- 0
src/libespeak-ng/dictionary.c View File

@@ -737,6 +737,8 @@ static int IsLetterGroup(Translator *tr, char *word, int group, int pre)
if (pre) {
len = strlen(p);
w = word;
if (*w == 0)
goto skip;
for (i = 0; i < len-1; i++)
{
w--;

Loading…
Cancel
Save