Evas textblock: Removed duplicated condition.
raster: don't drink and code :). SVN revision: 58212
This commit is contained in:
parent
97600782de
commit
e9327efd98
|
@ -3704,8 +3704,6 @@ _layout(const Evas_Object *obj, int calc_only, int w, int h, int *w_ret, int *h_
|
|||
|
||||
/* Is this really the place? */
|
||||
/* Vertically align the textblock */
|
||||
if ((o->valign > 0.0) && (c->h > c->hmax))
|
||||
{
|
||||
if ((o->valign > 0.0) && (c->h > c->hmax))
|
||||
{
|
||||
Evas_Coord adjustment = (c->h - c->hmax) * o->valign;
|
||||
|
@ -3715,7 +3713,6 @@ _layout(const Evas_Object *obj, int calc_only, int w, int h, int *w_ret, int *h_
|
|||
par->y += adjustment;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ((o->style_pad.l != style_pad_l) || (o->style_pad.r != style_pad_r) ||
|
||||
(o->style_pad.t != style_pad_t) || (o->style_pad.b != style_pad_b))
|
||||
|
|
Loading…
Reference in New Issue