Evas textblock: Fixed an issue with item formats.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 17 Jul 2011 10:47:39 +0000 (10:47 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 17 Jul 2011 10:47:39 +0000 (10:47 +0000)
They weren't pushed to the format stack which in turn meant </item> popped
unrelated formats causing a mess in the stack.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61434 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index ac44db4..65e0b00 100644 (file)
@@ -3051,6 +3051,8 @@ _layout_do_format(const Evas_Object *obj __UNUSED__, Ctxt *c,
              fi->parent.w = fi->parent.adv = w;
              fi->parent.h = h;
           }
+        /* Not sure if it's the best handling, but will do it for now. */
+        fmt = _layout_format_push(c, fmt);
         handled = 1;
      }