Use macro to get container of inlist

Revove warning.



SVN revision: 49959
This commit is contained in:
Lucas De Marchi 2010-07-01 03:12:14 +00:00
parent 65ee259ada
commit e502081fa3
1 changed files with 1 additions and 1 deletions

View File

@ -4143,7 +4143,7 @@ evas_textblock_cursor_format_prepend(Evas_Textblock_Cursor *cur, const char *for
else if (cur->pos == len)
{
if (EINA_INLIST_GET(n)->next)
cur->node = EINA_INLIST_GET(n)->next;
cur->node = EINA_INLIST_CONTAINER_GET(EINA_INLIST_GET(n)->next, Evas_Object_Textblock_Node);
else
cur->node = n;
cur->pos = 0;