mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-12 08:50:01 +00:00
nb: fix regression for language options.
182aba4cc started calling Norwegian nb instead of no. The result is that
code in tr_languages.c was never run.
This commit is contained in:
@@ -1245,7 +1245,7 @@ Translator *SelectTranslator(const char *name)
|
||||
memcpy(tr->stress_lengths, stress_lengths_nl, sizeof(tr->stress_lengths));
|
||||
}
|
||||
break;
|
||||
case L('n', 'o'): // Norwegian
|
||||
case L('n', 'b'): // Norwegian
|
||||
{
|
||||
static const short stress_lengths_no[8] = { 160, 140, 200, 200, 0, 0, 220, 230 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user