summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-04-22 13:13:19 +0100
committerTom Hacohen <tom@stosb.com>2015-04-22 13:13:21 +0100
commit5b5b7113b7d24cb8b3935834a99eaf23393605ec (patch)
treea66bf488c5851b9e981a025e107bf0f84d5a9246 /src/modules
parent450ff212e2d184a5b5f3dbbaf11ec9555a24dbb2 (diff)
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.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
index 7e9e353..b5cfa56 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
@@ -380,7 +380,7 @@ _ecore_evas_wayland_shm_alpha_do(Ecore_Evas *ee, int alpha)
380 LOGFN(__FILE__, __LINE__, __FUNCTION__); 380 LOGFN(__FILE__, __LINE__, __FUNCTION__);
381 381
382 if (!ee) return; 382 if (!ee) return;
383 if ((ee->alpha == alpha)) return; 383 if (ee->alpha == alpha) return;
384 ee->alpha = alpha; 384 ee->alpha = alpha;
385 wdata = ee->engine.data; 385 wdata = ee->engine.data;
386 386
@@ -419,7 +419,7 @@ _ecore_evas_wayland_shm_transparent_do(Ecore_Evas *ee, int transparent)
419 LOGFN(__FILE__, __LINE__, __FUNCTION__); 419 LOGFN(__FILE__, __LINE__, __FUNCTION__);
420 420
421 if (!ee) return; 421 if (!ee) return;
422 if ((ee->transparent == transparent)) return; 422 if (ee->transparent == transparent) return;
423 ee->transparent = transparent; 423 ee->transparent = transparent;
424 424
425 wdata = ee->engine.data; 425 wdata = ee->engine.data;