summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-10-17 11:19:06 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-10-17 11:19:06 +0900
commit1a135fdfb1265154057c7b47041b1bea4e3207b6 (patch)
treef7da1bfb80b8376ee39e2572c464e5b8910e304b /src
parentef89bfbbede4721fd61d95e9186b370fa58b74b9 (diff)
evas - clean if check to be a single return point for clarity
if (a) return; if (b) return; -> if ((a) || (b)) return;
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/evas_object_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_object_main.c b/src/lib/evas/canvas/evas_object_main.c
index de5e83d..7ff20b8 100644
--- a/src/lib/evas/canvas/evas_object_main.c
+++ b/src/lib/evas/canvas/evas_object_main.c
@@ -254,8 +254,7 @@ evas_object_change(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
254 Eina_Bool movch = EINA_FALSE; 254 Eina_Bool movch = EINA_FALSE;
255 Evas_Canvas3D_Texture *texture; 255 Evas_Canvas3D_Texture *texture;
256 256
257 if (!obj->layer) return; 257 if ((!obj->layer) || (!obj->layer->evas)) return;
258 if (!obj->layer->evas) return;
259 if (obj->layer->evas->nochange) return; 258 if (obj->layer->evas->nochange) return;
260 obj->layer->evas->changed = EINA_TRUE; 259 obj->layer->evas->changed = EINA_TRUE;
261 260