forked from enlightenment/efl
Ecore_evas wayland: remove double parenthesis around comparison.
Double praenthesis should be used around assignments, not comparisons. Doing this correctly all aronud lets the compiler warn us about potential mistakes.
This commit is contained in:
parent
450ff212e2
commit
5b5b7113b7
|
@ -380,7 +380,7 @@ _ecore_evas_wayland_shm_alpha_do(Ecore_Evas *ee, int alpha)
|
|||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||
|
||||
if (!ee) return;
|
||||
if ((ee->alpha == alpha)) return;
|
||||
if (ee->alpha == alpha) return;
|
||||
ee->alpha = alpha;
|
||||
wdata = ee->engine.data;
|
||||
|
||||
|
@ -419,7 +419,7 @@ _ecore_evas_wayland_shm_transparent_do(Ecore_Evas *ee, int transparent)
|
|||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||
|
||||
if (!ee) return;
|
||||
if ((ee->transparent == transparent)) return;
|
||||
if (ee->transparent == transparent) return;
|
||||
ee->transparent = transparent;
|
||||
|
||||
wdata = ee->engine.data;
|
||||
|
|
Loading…
Reference in New Issue