[orca] Correct a stupid error from applying a patch
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Correct a stupid error from applying a patch
- Date: Tue, 4 Feb 2014 18:44:05 +0000 (UTC)
commit e9b4f5fafb8da2826388b39440b845b28dfbfb25
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Feb 4 13:43:23 2014 -0500
Correct a stupid error from applying a patch
src/orca/scripts/apps/soffice/script.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index 4c864c9..846162e 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -414,7 +414,7 @@ class Script(default.Script):
text = orca_state.locusOfFocus.queryText()
string, startOffset, endOffset = text.getTextAtOffset(
text.caretOffset, pyatspi.TEXT_BOUNDARY_LINE_START)
- if 0 < startOffset:
+ if 0 < startOffset:
text.setCaretOffset(startOffset-1)
return True
@@ -444,7 +444,7 @@ class Script(default.Script):
text = orca_state.locusOfFocus.queryText()
string, startOffset, endOffset = text.getTextAtOffset(
text.caretOffset, pyatspi.TEXT_BOUNDARY_LINE_START)
- if endOffset < text.characterCount:
+ if endOffset < text.characterCount:
text.setCaretOffset(endOffset)
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]