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

break; break;
case 0x101: // --compile-debug case 0x101: // --compile-debug
case 0x102: // --compile case 0x102: // --compile
if (optarg2 != NULL) {
if (optarg2 != NULL && *optarg2) {
strncpy0(voicename, optarg2, sizeof(voicename)); strncpy0(voicename, optarg2, sizeof(voicename));
flag_compile = c; flag_compile = c;
quiet = true; quiet = true;

Loading…
Cancel
Save