wow - killed 2 bugs with 1 stone!

:)



SVN revision: 47229
This commit is contained in:
Carsten Haitzler 2010-03-15 02:34:11 +00:00
parent 2f7f718185
commit 3033a7492a
1 changed files with 1 additions and 1 deletions

View File

@ -3376,12 +3376,12 @@ evas_textblock_cursor_line_first(Evas_Textblock_Cursor *cur)
if (!cur->node) return;
o = (Evas_Object_Textblock *)(cur->obj->object_data);
if (!o->formatted.valid) _relayout(cur->obj);
cur->eol = 0;
if (cur->node->type == NODE_FORMAT)
_find_layout_format_item_line_match(cur->obj, cur->node, &ln, &fi);
else
_find_layout_item_line_match(cur->obj, cur->node, cur->pos, cur->eol, &ln, &it);
if (!ln) return;
cur->eol = 0;
it = (Evas_Object_Textblock_Item *)ln->items;
fi = (Evas_Object_Textblock_Format_Item *)ln->format_items;
if ((it) && (fi))