summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index b7a7ea2f..f9bcb9b7 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -1428,7 +1428,7 @@ pango_layout_index_to_line (PangoLayout *layout,
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)