diff --git a/src/libespeak-ng/dictionary.c b/src/libespeak-ng/dictionary.c index eb4c63ad..2d159795 100644 --- a/src/libespeak-ng/dictionary.c +++ b/src/libespeak-ng/dictionary.c @@ -503,7 +503,7 @@ char *WritePhMnemonic(char *phon_out, PHONEME_TAB *ph, PHONEME_LIST *plist, int first = true; for (mnem = ph->mnemonic; (c = mnem & 0xff) != 0; mnem = mnem >> 8) { - if (c == '/') // NOTE: this line used to be (c == '/') && (option_phoneme_variants == 0)) but always evaluated true + if (c == '/') break; // discard phoneme variant indicator if (use_ipa) {