elementary: fix float warning in Efl.Ui.Box_Layout.

This commit is contained in:
Cedric BAIL 2016-12-20 14:58:57 -08:00
parent a5bc6f7b00
commit 30ff98f8fd
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ _efl_ui_box_custom_layout(Efl_Ui_Box *ui_box, Evas_Object_Box_Data *bd)
if (extra < 0) extra = 0;
if (!weight[!horiz])
if (!EINA_DBL_CMP(weight[!horiz], 0))
{
if (box_fill[!horiz])
{