Browse Source

Handle the '--compile=' case when reporting a 'Voice name not specified' error.

master
Reece H. Dunn 7 years ago
parent
commit
7c7081cb32
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/espeak-ng.c

+ 1
- 1
src/espeak-ng.c View File

@@ -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;

Loading…
Cancel
Save