Fix setting the default voice from espeak_SetVoiceByProperties.

This commit is contained in:
Reece H. Dunn
2017-08-19 12:08:39 +01:00
parent 16bea7fd0f
commit 882c2651e1
4 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -598,7 +598,7 @@ int main(int argc, char **argv)
}
if (voicename[0] == 0)
strcpy(voicename, "en");
strcpy(voicename, ESPEAKNG_DEFAULT_VOICE);
result = espeak_ng_SetVoiceByName(voicename);
if (result != ENS_OK) {