From: tasn Date: Tue, 9 Aug 2011 13:55:38 +0000 (+0000) Subject: Evas textblock: Fixed a bug in evas_textblock_cursor_char_coord_set. X-Git-Tag: submit/trunk/20120815.174732~1020 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e3a388b4a73c45a3c0269ed9816a919e315e038;p=profile%2Fivi%2Fevas.git Evas textblock: Fixed a bug in evas_textblock_cursor_char_coord_set. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62258 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/canvas/evas_object_textblock.c b/src/lib/canvas/evas_object_textblock.c index 6111408..b1060b9 100644 --- a/src/lib/canvas/evas_object_textblock.c +++ b/src/lib/canvas/evas_object_textblock.c @@ -7971,7 +7971,7 @@ evas_textblock_cursor_char_coord_set(Evas_Textblock_Cursor *cur, Evas_Coord x, E } } } - else if (o->paragraphs && (y > o->paragraphs->y + o->formatted.h)) + else if (o->paragraphs && (y >= o->paragraphs->y + o->formatted.h)) { /* If we are after the last paragraph, use the last position in the * text. */