summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/voice.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/voice.pl b/tools/voice.pl
index 8b5b27b82c..dae6456ed5 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -94,7 +94,7 @@ sub init_tts {
94 print(CMD_IN "QUERY\tVENDOR\r\n"); 94 print(CMD_IN "QUERY\tVENDOR\r\n");
95 my $vendor = readline(CMD_OUT); 95 my $vendor = readline(CMD_OUT);
96 $vendor =~ s/\r\n//; 96 $vendor =~ s/\r\n//;
97 %ret = (%ret, 97 %ret = (%ret,
98 "stdin" => *CMD_IN, 98 "stdin" => *CMD_IN,
99 "stdout" => *CMD_OUT, 99 "stdout" => *CMD_OUT,
100 "toolspath" => $path, 100 "toolspath" => $path,
@@ -126,8 +126,8 @@ sub correct_string {
126 my $orig = $string; 126 my $orig = $string;
127 switch($language) { 127 switch($language) {
128 # General for all engines and languages 128 # General for all engines and languages
129 $string =~ s/USB/U S B/ig; 129 $string =~ s/USB/U S B/g;
130 $string =~ s/ID3/I D 3/ig; 130 $string =~ s/ID3/I D 3/g;
131 131
132 case "english" { 132 case "english" {
133 switch($$tts_object{"name"}) { 133 switch($$tts_object{"name"}) {