Browse Source

Merge remote-tracking branch 'jaacoppi/bugfix'

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

+ 9
- 4
src/espeak-ng.c View File

break; break;
case 0x101: // --compile-debug case 0x101: // --compile-debug
case 0x102: // --compile case 0x102: // --compile
strncpy0(voicename, optarg2, sizeof(voicename));
flag_compile = c;
quiet = true;
break;
if (optarg2 != NULL) {
strncpy0(voicename, optarg2, sizeof(voicename));
flag_compile = c;
quiet = true;
break;
} else {
fprintf(stderr, "Voice name not specified\n", optarg2);
exit(EXIT_FAILURE);
}
case 0x103: // --punct case 0x103: // --punct
option_punctuation = 1; option_punctuation = 1;
if (optarg2 != NULL) { if (optarg2 != NULL) {

Loading…
Cancel
Save