mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-20 14:54:17 +02:00
Make empty voice name select the default voice
See http://bugs.debian.org/872194 This fixes #11.
This commit is contained in:
parent
5339da3144
commit
5f01999726
1 changed files with 1 additions and 1 deletions
2
espeak.c
2
espeak.c
|
|
@ -311,7 +311,7 @@ int initialize_espeak(struct synth_t *s)
|
|||
espeak_SetSynthCallback(acsint_callback);
|
||||
|
||||
/* Setup initial voice parameters */
|
||||
if (defaultVoice) {
|
||||
if (defaultVoice && defaultVoice[0]) {
|
||||
set_voice(s, defaultVoice);
|
||||
free(defaultVoice);
|
||||
defaultVoice = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue