[pango] Fix typo in pango_layout_xy_to_index() docs



commit 6c81be9ef621bebcb33b9e2e2d86c7b09cc00322
Author: Khaled Hosny <khaledhosny eglug org>
Date:   Sun Feb 14 13:58:43 2016 +0400

    Fix typo in pango_layout_xy_to_index() docs
    
    It was referring to itself for further description, but I assume the
    intent was to refer to pango_layout_line_x_to_index().

 pango/pango-layout.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 57e8e8f..9452c9b 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -2018,7 +2018,7 @@ pango_layout_move_cursor_visually (PangoLayout *layout,
  * Y position is not inside the layout, the closest position is chosen
  * (the position will be clamped inside the layout). If the
  * X position is not within the layout, then the start or the
- * end of the line is chosen as  described for pango_layout_xy_to_index().
+ * end of the line is chosen as described for pango_layout_line_x_to_index().
  * If either the X or Y positions were not inside the layout, then the
  * function returns %FALSE; on an exact hit, it returns %TRUE.
  *


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