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

if (pre) { if (pre) {
len = strlen(p); len = strlen(p);
w = word; w = word;
if (*w == 0)
goto skip;
for (i = 0; i < len-1; i++) for (i = 0; i < len-1; i++)
{ {
w--; w--;

Loading…
Cancel
Save