mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 06:01:53 +00:00
Fix: -x (show phonemes) option. Terminate the reported string for $textmode replacements.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@144 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -3032,6 +3032,7 @@ int Translator::LookupDictList(char **wordptr, char *ph_out, unsigned int *flags
|
||||
{
|
||||
len = found - word1;
|
||||
memcpy(word,word1,len); // include multiple matching words
|
||||
word[len] = 0;
|
||||
fprintf(f_trans,"Replace: %s %s\n",word,*wordptr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user