Evas textblock: Fixed a bug in evas_textblock_cursor_char_coord_set.
authorTom Hacohen <tom@stosb.com>
Tue, 9 Aug 2011 13:55:38 +0000 (13:55 +0000)
committerTom Hacohen <tom@stosb.com>
Tue, 9 Aug 2011 13:55:38 +0000 (13:55 +0000)
SVN revision: 62258

legacy/evas/src/lib/canvas/evas_object_textblock.c

index 6111408eb3cbff47b2572473a815e88e46d6c3ff..b1060b9e7d606d347450bea8baf58f77f119c666 100644 (file)
@@ -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. */