[orca/gnome-3-30] Fix bug in sentence echo



commit 4e4138edf34b317915bed7123898268720d3a8c9
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat Sep 29 10:19:35 2018 -0400

    Fix bug in sentence echo

 src/orca/scripts/default.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index d1ee7242a..2bf258e7f 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -3127,7 +3127,7 @@ class Script(script.Script):
             sentence = self.utilities.substring(obj, sentenceStartOffset + 1,
                                          sentenceEndOffset + 1)
 
-        voice = self.speechGenerator.voice(string=voice)
+        voice = self.speechGenerator.voice(string=sentence)
         sentence = self.utilities.adjustForRepeats(sentence)
         speech.speak(sentence, voice)
         return True


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]