• R/O
  • HTTP
  • SSH
  • HTTPS

nvdajp: コミット

NVDA with Japanese branch


コミットメタ情報

リビジョン06b83642dd0ef5bc76783281606a4c9235609762 (tree)
日時2015-07-31 21:32:55
作者Takuya Nishimoto <nishimotz@gmai...>
コミッターTakuya Nishimoto

ログメッセージ

fix issue regarding ti33823

変更サマリ

差分

--- a/source/speech.py
+++ b/source/speech.py
@@ -1593,7 +1593,9 @@ def speakWithoutPauses(speechSequence,detectBreaks=True):
15931593 for pos, item in enumerate(finalSpeechSequence):
15941594 if isinstance(item,basestring):
15951595 if currSentTextIsAsian:
1596- c = item.lstrip()[0]
1596+ c = item.lstrip()
1597+ if c:
1598+ c = c[0]
15971599 if c and unicodedata.east_asian_width(c) == 'W':
15981600 currSentText = currSentText.rstrip() + item.lstrip()
15991601 log.debug("updated currSentText(%d)(%s)" % (currSentPos, currSentText))
旧リポジトリブラウザで表示