Evas textblock: Beautify the DRAW_FORMAT_DASHED macro a bit.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 17 Oct 2011 12:18:57 +0000 (12:18 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 17 Oct 2011 12:18:57 +0000 (12:18 +0000)
Patch by Shilpa Singh.

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

src/lib/canvas/evas_object_textblock.c

index 8e1ac7c..df048e8 100644 (file)
@@ -9009,7 +9009,7 @@ evas_object_textblock_render(Evas_Object *obj, void *output, void *context, void
                   _dr = itr->adv % (dw + dp); \
                } \
              if (_dr > dw) _dr = dw; \
-             for (_ind = _dn ; _ind > 0 ; _ind--) \
+             for (_ind = 0 ; _ind < _dn ; _ind++) \
                { \
                   DRAW_RECT(itr->x + _dx, oy, dw, oh, _or, _og, _ob, _oa); \
                   _dx += dw + dp; \