- this fixes a problem in ewl where you couldn't click to put the cursor on

the end of the first line


SVN revision: 18747
This commit is contained in:
Dan Sinclair 2005-12-01 06:18:43 +00:00 committed by Dan Sinclair
parent 648b7deab7
commit 470cf87824
1 changed files with 1 additions and 1 deletions

View File

@ -2042,7 +2042,7 @@ _find_layout_item_line_match(Evas_Object *obj, Evas_Object_Textblock_Node *n, in
it = (Evas_Object_Textblock_Item *)ll; it = (Evas_Object_Textblock_Item *)ll;
if (it->source_node == n) if (it->source_node == n)
{ {
if ((it->source_pos + strlen(it->text)) > pos) if ((it->source_pos + strlen(it->text)) >= pos)
{ {
*lnr = ln; *lnr = ln;
*itr = it; *itr = it;