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:
jonsd
2008-02-21 17:45:24 +00:00
parent 35a7f05eb1
commit b29b232e15
+1
View File
@@ -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);
}
}