eina: same expression on both statement.
Summary: Comparing with same expression is avoided. @fix Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D5268 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
This commit is contained in:
parent
11d553e3c3
commit
c321def5fc
|
@ -178,9 +178,9 @@ void rect_update()
|
||||||
|
|
||||||
for (i = 0; i < 2; i ++)
|
for (i = 0; i < 2; i ++)
|
||||||
{
|
{
|
||||||
if (rects[rect_idx][0][i].w > 0 && rects[rect_idx][0][i].w > 0)
|
if (rects[rect_idx][0][i].w > 0 && rects[rect_idx][0][i].h > 0)
|
||||||
eina_tiler_rect_add(tiler1, &rects[rect_idx][0][i]);
|
eina_tiler_rect_add(tiler1, &rects[rect_idx][0][i]);
|
||||||
if (rects[rect_idx][1][i].w > 0 && rects[rect_idx][1][i].w > 0)
|
if (rects[rect_idx][1][i].w > 0 && rects[rect_idx][1][i].h > 0)
|
||||||
eina_tiler_rect_add(tiler2, &rects[rect_idx][1][i]);
|
eina_tiler_rect_add(tiler2, &rects[rect_idx][1][i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue