forked from enlightenment/efl
Evas engine drm: Fix style (and thus compilation warning).
Double parenthesis in ifs, such as "if ((x = 5))" should only be used iff using assignment inside of conditions (like the example above). This explicitly conveys the intention to both the compiler and other programmers and essentially eliminates the class of bugs that result from accidental assignment when a comparison was intended and vise-versa in conditions.
This commit is contained in:
parent
1198dd4efb
commit
45707a7bb6
|
@ -445,7 +445,7 @@ _outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *
|
|||
|
||||
RECTS_CLIP_TO_RECT(x, y, w, h, 0, 0, ob->w, ob->h);
|
||||
|
||||
if ((ob->rotation == 0))// && (ob->depth == 32))
|
||||
if (ob->rotation == 0) // && (ob->depth == 32))
|
||||
{
|
||||
Eina_Rectangle *rect;
|
||||
|
||||
|
|
Loading…
Reference in New Issue