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:
Tom Hacohen 2015-04-22 13:13:19 +01:00
parent 450ff212e2
commit 5b5b7113b7
1 changed files with 2 additions and 2 deletions

View File

@ -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;