Don't skip blanks past charix_top in TranslateClause.

This commit is contained in:
Reece H. Dunn
2018-03-22 20:49:15 +00:00
parent 7dad0dfd40
commit 2d7f3e9d54
+1 -1
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;