mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-01 22:36:14 +00:00
Handle the '--compile=' case when reporting a 'Voice name not specified' error.
This commit is contained in:
+1
-1
@@ -441,7 +441,7 @@ int main(int argc, char **argv)
|
||||
break;
|
||||
case 0x101: // --compile-debug
|
||||
case 0x102: // --compile
|
||||
if (optarg2 != NULL) {
|
||||
if (optarg2 != NULL && *optarg2) {
|
||||
strncpy0(voicename, optarg2, sizeof(voicename));
|
||||
flag_compile = c;
|
||||
quiet = true;
|
||||
|
||||
Reference in New Issue
Block a user