Browse Source

Don't skip blanks past charix_top in TranslateClause.

master
Reece H. Dunn 7 years ago
parent
commit
2d7f3e9d54
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libespeak-ng/translate.c

+ 1
- 1
src/libespeak-ng/translate.c View File

@@ -2469,7 +2469,7 @@ void TranslateClause(Translator *tr, int *tone_out, char **voice_change)
words[word_count].start = ix;
words[word_count].flags = 0;

for (j = source_index; charix[j] <= 0; j++) // skip blanks
for (j = source_index; j < charix_top && charix[j] <= 0; j++) // skip blanks
;
words[word_count].sourceix = charix[j];
k = 0;

Loading…
Cancel
Save