From d0f48e64411011eaa4f15b94fcfe40a8e3224edf Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 24 Apr 2015 14:10:48 -0400 Subject: [PATCH] fix comp init failure case --- src/bin/e_comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 32a4953d6..91bcc056e 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -1067,7 +1067,7 @@ e_comp_init(void) //#ifdef HAVE_WAYLAND_CLIENTS //e_comp_wl_init(); //#endif - if (!e_comp) return EINA_FALSE; + if (e_comp->comp_type == E_PIXMAP_TYPE_NONE) return EINA_FALSE; out: if (e_comp->comp_type == E_PIXMAP_TYPE_WL) e_comp_canvas_fake_layers_init();