Evas textblock: Adjusted some local macros a bit so they'll enforce our wanted usage...
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 30 Jan 2011 10:31:40 +0000 (10:31 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 30 Jan 2011 10:31:40 +0000 (10:31 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@56409 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index 845b46e..434a5c6 100644 (file)
@@ -7542,11 +7542,14 @@ evas_object_textblock_render(Evas_Object *obj, void *output, void *context, void
                        if ((obj->cur.geometry.x + x + ln->x + ti->parent.x - ti->inset) > (cx + cw + 20)) \
                        break; \
                     } \
-               }
+               } \
+             do
 
 #define ITEM_WALK_END() \
+             while (0); \
           } \
-     }
+     } \
+   do {} while(0)
 #define COLOR_SET(col) \
    ENFN->context_color_set(output, context, \
          (obj->cur.cache.clip.r * ti->format->color.col.r) / 255, \