Evas textblock: slight style fixes.
authorTom Hacohen <tom@stosb.com>
Tue, 12 Jan 2016 10:55:49 +0000 (10:55 +0000)
committerTom Hacohen <tom@stosb.com>
Tue, 12 Jan 2016 10:55:49 +0000 (10:55 +0000)
src/lib/evas/canvas/evas_object_textblock.c

index 7039364..b5a17f1 100644 (file)
@@ -3620,8 +3620,11 @@ loop_advance:
 
    c->par->h = c->ln->y + c->ln->h;
    if (c->ln->w > c->par->w)
-     c->par->w = c->ln->w;
+     {
+        c->par->w = c->ln->w;
+     }
 
+   /* Calculate new max width */
      {
         Evas_Coord new_wmax = c->ln->w +
            c->marginl + c->marginr - (c->o->style_pad.l + c->o->style_pad.r);