Browse Source

Merge pull request #1125

master
Valdis Vitolins 3 years ago
parent
commit
1e310d95a3
No account linked to committer's email address
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      src/libespeak-ng/dictionary.c

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

if (distance_left > 18) if (distance_left > 18)
distance_left = 19; distance_left = 19;


if (!*pre_ptr) {
// we had already reached the beginning of text!
// reading before this does not make sense, that cannot match
failed = 1;
break;
}
utf8_in(&last_letter_w, pre_ptr); utf8_in(&last_letter_w, pre_ptr);
pre_ptr--; pre_ptr--;
letter_xbytes = utf8_in2(&letter_w, pre_ptr, 1)-1; letter_xbytes = utf8_in2(&letter_w, pre_ptr, 1)-1;

Loading…
Cancel
Save