From: tasn Date: Sun, 30 Jan 2011 10:32:39 +0000 (+0000) Subject: Evas textblock: Fixed selection drawing with multiline mixed ltr/rtl. X-Git-Tag: submit/trunk/20120815.174732~2112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f687d9939f32ac851ee02e4bad6ad303ffc9a39d;p=profile%2Fivi%2Fevas.git Evas textblock: Fixed selection drawing with multiline mixed ltr/rtl. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@56418 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/canvas/evas_object_textblock.c b/src/lib/canvas/evas_object_textblock.c index faac719..65ad20f 100644 --- a/src/lib/canvas/evas_object_textblock.c +++ b/src/lib/canvas/evas_object_textblock.c @@ -7201,8 +7201,8 @@ _evas_textblock_cursor_range_in_line_geometry_get( } else { - start = (cur2) ? (cur2->pos - it1->text_pos) : 0; - end = (cur1) ? (cur1->pos - it2->text_pos) : end; + start = (cur2) ? (cur2->pos - it1->text_pos) : end; + end = (cur1) ? (cur1->pos - it2->text_pos) : 0; switch_items = EINA_TRUE; }