Evas textblock: Fixed a bug in evas_textblock_cursor_line_coord_set.

SVN revision: 62257
This commit is contained in:
Tom Hacohen 2011-08-09 13:55:31 +00:00
parent 8aa560f753
commit f765f1e290
1 changed files with 1 additions and 1 deletions

View File

@ -8015,7 +8015,7 @@ evas_textblock_cursor_line_coord_set(Evas_Textblock_Cursor *cur, Evas_Coord y)
}
}
}
else if (o->paragraphs && (y > o->paragraphs->y + o->formatted.h))
else if (o->paragraphs && (y >= o->paragraphs->y + o->formatted.h))
{
int line_no = 0;
/* If we are after the last paragraph, use the last position in the