diff --git a/src/libespeak-ng/intonation.c b/src/libespeak-ng/intonation.c index c1664218..65e4f2d4 100644 --- a/src/libespeak-ng/intonation.c +++ b/src/libespeak-ng/intonation.c @@ -790,13 +790,8 @@ static void CalcPitches_Tone(Translator *tr) p = &phoneme_list[0]; for (ix = 0; ix < n_phoneme_list; ix++, p++) { if ((p->type == phVOWEL) && (p->stresslevel >= 4)) { - if (count_stressed == 0) - final_stressed = ix; - - if (p->stresslevel >= 4) { - final_stressed = ix; - count_stressed++; - } + final_stressed = ix; + count_stressed++; } }