Evas textblock: Fixed usage of width instead of advance which caused issues in some cases.

SVN revision: 56435
This commit is contained in:
Tom Hacohen 2011-01-30 10:34:23 +00:00
parent b6363c7657
commit ce97927d9a
1 changed files with 1 additions and 1 deletions

View File

@ -7007,7 +7007,7 @@ evas_textblock_cursor_char_coord_set(Evas_Textblock_Cursor *cur, Evas_Coord x, E
it_break = it;
break;
}
if (((it->x + ln->x) <= x) && (((it->x + ln->x) + it->w) > x))
if (((it->x + ln->x) <= x) && (((it->x + ln->x) + it->adv) > x))
{
if (it->type == EVAS_TEXTBLOCK_ITEM_TEXT)
{