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

This commit is contained in:
Reece H. Dunn
2018-03-30 08:43:20 +01:00
parent 9395240a9e
commit 7c7081cb32
+1 -1
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;