summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-03-30 11:34:06 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-03-30 11:34:06 +0000
commitdf16f26dc7a59600271e5222fad77b1813511a14 (patch)
tree28c0d22efb41a78e863af21bb02b154a64782f62 /legacy
parentd47cefb42558780ded6aea8433fa955e35e9a7fb (diff)
use o->valign.
SVN revision: 58202
Diffstat (limited to 'legacy')
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_textblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_textblock.c b/legacy/evas/src/lib/canvas/evas_object_textblock.c
index 501879c90f..14251b6c96 100644
--- a/legacy/evas/src/lib/canvas/evas_object_textblock.c
+++ b/legacy/evas/src/lib/canvas/evas_object_textblock.c
@@ -3701,9 +3701,9 @@ _layout(const Evas_Object *obj, int calc_only, int w, int h, int *w_ret, int *h_
3701 3701
3702 /* Is this really the place? */ 3702 /* Is this really the place? */
3703 /* Vertically align the textblock */ 3703 /* Vertically align the textblock */
3704 if ((c->valign > 0.0) && (c->h > c->hmax)) 3704 if ((o->valign > 0.0) && (c->h > c->hmax))
3705 { 3705 {
3706 Evas_Coord adjustment = (c->h - c->hmax) * c->valign; 3706 Evas_Coord adjustment = (c->h - c->hmax) * o->valign;
3707 Evas_Object_Textblock_Paragraph *par; 3707 Evas_Object_Textblock_Paragraph *par;
3708 EINA_INLIST_FOREACH(c->paragraphs, par) 3708 EINA_INLIST_FOREACH(c->paragraphs, par)
3709 { 3709 {