Browse Source

Revert "code cleanup: don't add a \0 to voices_language in LoadVoice()."

This reverts commit e91d0a5861.
master
Sean Budd 3 years ago
parent
commit
139417e8e1
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/libespeak-ng/voices.c

+ 2
- 0
src/libespeak-ng/voices.c View File

@@ -959,6 +959,8 @@ voice_t *LoadVoice(const char *vname, int control)
return NULL; // no dictionary loaded
}
}

voice_languages[langix] = 0;
}

return voice;

Loading…
Cancel
Save