Edje min_restricted_calc: Fix the fallback calc to calc more correctly.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 16 May 2011 14:09:08 +0000 (14:09 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 16 May 2011 14:09:08 +0000 (14:09 +0000)
commita2cf4e3a43c00f8da1244eeff91bb2c72693fbad
treeb374f7810e9ba16a251ee9c9748a9e18dc7bbb3c
parentd5c38dbc1b3d4afa42832f27c24af7f6de79591c
Edje min_restricted_calc: Fix the fallback calc to calc more correctly.

Ok was shared between width and height and in the error, and in the error
case we don't reset maxw and maxh; This caused maxw and maxh to be added
a couple of times even when not needed. This would cause weird sizing.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@59450 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/edje_util.c