Evas textblock: Fixed cursor position with a cleared textblock.

SVN revision: 56532
This commit is contained in:
Tom Hacohen 2011-01-30 10:44:48 +00:00
parent e4bcb7f90f
commit 2f8968f4f8
1 changed files with 1 additions and 0 deletions

View File

@ -3414,6 +3414,7 @@ _layout(const Evas_Object *obj, int calc_only, int w, int h, int *w_ret, int *h_
if (!c->paragraphs)
{
_layout_paragraph_new(c, NULL);
o->paragraphs = c->paragraphs;
}
c->par = (Evas_Object_Textblock_Paragraph *)
EINA_INLIST_GET(c->paragraphs)->last;