[pyatspi2] Typo on the call to Atspi.Text.get_character_at_offset
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2] Typo on the call to Atspi.Text.get_character_at_offset
- Date: Tue, 13 Nov 2012 21:54:43 +0000 (UTC)
commit 6e4dc84d30ff776456290d9b765fb50f73c3d885
Author: Alejandro PiÃeiro <apinheiro igalia com>
Date: Mon Sep 24 14:47:23 2012 +0200
Typo on the call to Atspi.Text.get_character_at_offset
pyatspi/text.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/text.py b/pyatspi/text.py
index 6d73d05..c3278e0 100644
--- a/pyatspi/text.py
+++ b/pyatspi/text.py
@@ -241,7 +241,7 @@ class Text(interface):
UCS-4 representation of the character at the specified text offset,
or 0 if offset is out of range.
"""
- return Atspi.Text.get_character_offset(self.obj, offset)
+ return Atspi.Text.get_character_at_offset(self.obj, offset)
def getCharacterExtents(self, offset, coordType):
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]