2007-06-18 Behdad Esfahbod <behdad@gnome.org>
Bug 448342 – pango_layout_index_to_line_x() counts lines from 1
* pango/pango-layout.c (pango_layout_index_to_line):
Count lines from zero, not one!
svn path=/trunk/; revision=2359
2007-06-18 Behdad Esfahbod <behdad@gnome.org>
+ Bug 448342 – pango_layout_index_to_line_x() counts lines from 1
+
+ * pango/pango-layout.c (pango_layout_index_to_line):
+ Count lines from zero, not one!
+
+2007-06-18 Behdad Esfahbod <behdad@gnome.org>
+
* configure.in:
* tests/cxx-test.C: Include pangocairo.h too.
GSList *line_list;
PangoLayoutLine *line = NULL;
PangoLayoutLine *prev_line = NULL;
- int i = 0;
+ int i = -1;
line_list = tmp_list = layout->lines;
while (tmp_list)