Evas textblock: Fixed inline valign.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 17 Jul 2011 13:42:51 +0000 (13:42 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 17 Jul 2011 13:42:51 +0000 (13:42 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61442 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index abbc611..0002958 100644 (file)
@@ -8474,14 +8474,8 @@ evas_object_textblock_render(Evas_Object *obj, void *output, void *context, void
                { \
                   Evas_Coord yoff; \
                   yoff = ln->baseline; \
-                  /* FIXME: This looks correct, but it breaks stuff....
-                   * yoff = (itr->type == EVAS_TEXTBLOCK_ITEM_TEXT) ? \
-                     _ITEM_TEXT(itr)->baseline : ln->baseline; */ \
                   if (itr->format->valign != -1.0) \
                     { \
-                       /* Until I fix the FIXME above. */ \
-                       yoff = (itr->type == EVAS_TEXTBLOCK_ITEM_TEXT) ? \
-                          _ITEM_TEXT(itr)->baseline : ln->baseline; \
                        yoff += itr->format->valign * (ln->h - itr->h); \
                     } \
                   if (clip) \