From: Chris Michael Date: Mon, 17 Jun 2013 22:32:20 +0000 (+0100) Subject: Formatting fixes X-Git-Tag: submit/devel/efl/20131022.203902~653 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dba0a5ea1fa14b44ce5bbad0829a5237a6e49f73;p=platform%2Fupstream%2Fefl.git Formatting fixes Signed-off-by: Chris Michael --- diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c index 6ed5e96..fab7493 100644 --- a/src/modules/evas/engines/wayland_egl/evas_engine.c +++ b/src/modules/evas/engines/wayland_egl/evas_engine.c @@ -42,11 +42,12 @@ struct _Render_Engine Eina_Bool end : 1; Eina_Bool evgl_initted : 1; - struct { - Evas_Object_Image_Pixels_Get_Cb get_pixels; - void *get_pixels_data; - Evas_Object *obj; - } func; + struct + { + Evas_Object_Image_Pixels_Get_Cb get_pixels; + void *get_pixels_data; + Evas_Object *obj; + } func; }; typedef struct _Native Native; @@ -1408,7 +1409,9 @@ eng_gl_direct_override_get(void *data, int *override, int *force_off) static void eng_gl_get_pixels_set(void *data, void *get_pixels, void *get_pixels_data, void *obj) { - Render_Engine *re = (Render_Engine *)data; + Render_Engine *re; + + if (!(re = (Render_Engine *)data)) return; EVGLINIT(data, ); re->func.get_pixels = get_pixels;