mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.37.12]
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@184 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+4
-1
@@ -440,8 +440,11 @@ char *EncodePhonemes(char *p, char *outptr, unsigned char *bad_phoneme)
|
||||
{
|
||||
// Switch Language: this phoneme is followed by a text string
|
||||
char *p_lang = outptr;
|
||||
while(!isspace(c = *p++) && (c != 0))
|
||||
while(!isspace(c = *p) && (c != 0))
|
||||
{
|
||||
p++;
|
||||
*outptr++ = tolower(c);
|
||||
}
|
||||
*outptr = 0;
|
||||
if(c == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user