mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 14:47:26 +00:00
Merge branch 'master' into android
This commit is contained in:
+2
-1
@@ -903,7 +903,8 @@ voice_t *LoadVoice(const char *vname, int control)
|
||||
|
||||
case V_OPTION:
|
||||
value2 = 0;
|
||||
if((sscanf(p,"%s %d %d",option_name,&value,&value2) >= 2) && ((ix = LookupMnem(options_tab, option_name)) >= 0))
|
||||
if(((sscanf(p,"%s %d %d",option_name,&value,&value2) >= 2) && ((ix = LookupMnem(options_tab, option_name)) >= 0)) ||
|
||||
((sscanf(p,"%d %d %d",&ix,&value,&value2) >= 2) && (ix < N_LOPTS)))
|
||||
{
|
||||
langopts->param[ix] = value;
|
||||
langopts->param2[ix] = value2;
|
||||
|
||||
Reference in New Issue
Block a user