[orca] When we don't have a custom char name, send the character directly to spd



commit 9b28663fd3cc1dbb478eadb6fe383f256aa32555
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Apr 12 18:38:47 2019 -0400

    When we don't have a custom char name, send the character directly to spd

 src/orca/speechdispatcherfactory.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/speechdispatcherfactory.py b/src/orca/speechdispatcherfactory.py
index ab247db86..26a7ef428 100644
--- a/src/orca/speechdispatcherfactory.py
+++ b/src/orca/speechdispatcherfactory.py
@@ -553,7 +553,7 @@ class SpeechServer(speechserver.SpeechServer):
             self._send_command(self._client.sound_icon, 'end-of-line')
 
         name = chnames.getCharacterName(character)
-        if not name:
+        if not name or name == character:
             self._send_command(self._client.char, character)
             return
 


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