summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2011-05-30 14:19:20 +0800
committerLi Yuan <li.yuan@sun.com>2011-05-30 14:19:20 +0800
commit4cca0bfe4cbcb03abbec884f2361b9fc714cc1dd (patch)
treefafa6b449b5a2bdd2b0c9a736f57eedacf72ff02
parentc8dc58115e2c78dada7ea87bcead8cdf1e5f2f9c (diff)
downloadatk-4cca0bfe4cbcb03abbec884f2361b9fc714cc1dd.tar.gz
Fix doc of atk_text_get_text_before_offset.
Bug #551489.
-rwxr-xr-xatk/atktext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/atk/atktext.c b/atk/atktext.c
index 800cba5..3674aad 100755
--- a/atk/atktext.c
+++ b/atk/atktext.c
@@ -471,16 +471,16 @@ atk_text_get_text_at_offset (AtkText *text,
* offset is returned.
*
* If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string
- * is from the word start before the word start before the offset to
- * the word start before the offset.
+ * is from the word start before the word start before or at the offset to
+ * the word start before or at the offset.
*
* The returned string will contain the word before the offset if the offset
* is inside a word and will contain the word before the word before the
* offset if the offset is not inside a word.
*
* If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string
- * is from the word end before the word end at or before the offset to the
- * word end at or before the offset.
+ * is from the word end before the word end before the offset to the word
+ * end before the offset.
*
* The returned string will contain the word before the offset if the offset
* is inside a word or if the offset is not inside a word.