box: Fix bad floating point comparison

This led to a completely invalid layout when using the Ui.Box
widget. Clearly the patch hasn't been thought through and tested
properly.

No comment.

Fixes dc022d602d
This commit is contained in:
Jean-Philippe Andre 2016-12-22 10:42:10 +09:00
parent a7c50179d3
commit 10a215354a
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 (!EINA_DBL_CMP(weight[!horiz], 0))
if (EINA_DBL_CMP(weight[!horiz], 0))
{
if (box_fill[!horiz])
{