herdsman pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=820204489020653f731192e82e7790c3124865d3

commit 820204489020653f731192e82e7790c3124865d3
Author: Daniel Hirt <daniel.h...@samsung.com>
Date:   Mon Jun 29 13:21:55 2015 +0300

    Evas textblock: Fix it->x value during layout
    
    This updates it->x when visiting each item in the line layout code,
    as it was always 0, even when it was used during item rollback.
    Fortunately, in the above case a 0 value was actually expected, so
    this does not actually affect current behavior.
    
    This fix is mainly for consistency and future development.
---
 src/lib/evas/canvas/evas_object_textblock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/evas/canvas/evas_object_textblock.c 
b/src/lib/evas/canvas/evas_object_textblock.c
index 1325924..6351b1f 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -4854,6 +4854,7 @@ _layout_par(Ctxt *c)
              continue;
           }
 
+        it->x = c->x;
         if (it->type == EVAS_TEXTBLOCK_ITEM_TEXT)
           {
              _layout_item_ascent_descent_adjust(c->obj, &c->ascent,

-- 


Reply via email to