mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-19 02:57:05 +00:00
Don't skip blanks past charix_top in TranslateClause.
This commit is contained in:
@@ -2469,7 +2469,7 @@ void TranslateClause(Translator *tr, int *tone_out, char **voice_change)
|
|||||||
words[word_count].start = ix;
|
words[word_count].start = ix;
|
||||||
words[word_count].flags = 0;
|
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];
|
words[word_count].sourceix = charix[j];
|
||||||
k = 0;
|
k = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user