Commit a24ec158 authored by Benjamin Otte's avatar Benjamin Otte

gtkpango: Count letters properly

The code was using the wrong variable and that then caused assertions
parent 15ab20fd
......@@ -1235,7 +1235,7 @@ _gtk_pango_get_text_at (PangoLayout *layout,
switch (boundary_type)
{
case ATK_TEXT_BOUNDARY_CHAR:
start = _gtk_pango_move_chars (layout, start, 1);
end = _gtk_pango_move_chars (layout, end, 1);
break;
case ATK_TEXT_BOUNDARY_WORD_START:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment