From 9bb9e98f847620852f216579fbfc58fc670a2f9a Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Thu, 29 Dec 2016 15:06:55 +0000 Subject: [PATCH] Don't exclude the test voice directory. This directory is no longer available, so the check is now redundant. --- src/libespeak-ng/voices.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libespeak-ng/voices.c b/src/libespeak-ng/voices.c index d01ed81f..e0e14be7 100644 --- a/src/libespeak-ng/voices.c +++ b/src/libespeak-ng/voices.c @@ -1600,11 +1600,11 @@ ESPEAK_API const espeak_VOICE **espeak_ListVoices(espeak_VOICE *voice_spec) // select the voices which match the voice_spec, and sort them by preference SetVoiceScores(voice_spec, voices, 1); } else { - // list all: omit variant voices and mbrola voices and test voices + // list all: omit variant and mbrola voices j = 0; for (ix = 0; (v = voices_list[ix]) != NULL; ix++) { if ((v->languages[0] != 0) && (strcmp(&v->languages[1], "variant") != 0) - && (memcmp(v->identifier, "mb/", 3) != 0) && (memcmp(v->identifier, "test/", 5) != 0)) + && (memcmp(v->identifier, "mb/", 3) != 0)) voices[j++] = v; } voices[j] = NULL;