Evas textblock: Yet another coord_set fix.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 28 Jun 2011 08:27:26 +0000 (08:27 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 28 Jun 2011 08:27:26 +0000 (08:27 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@60750 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index 3f1a0d3..2fed505 100644 (file)
@@ -7608,7 +7608,7 @@ evas_textblock_cursor_char_coord_set(Evas_Textblock_Cursor *cur, Evas_Coord x, E
                        cur->node = found_par->text_node;
                        return EINA_TRUE;
                     }
-                  else if (x > ln->x + ln->w)
+                  else if (x >= ln->x + ln->w)
                     {
                        cur->pos =
                           _ITEM(EINA_INLIST_GET(ln->items)->last)->text_pos;