discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=d0f48e64411011eaa4f15b94fcfe40a8e3224edf

commit d0f48e64411011eaa4f15b94fcfe40a8e3224edf
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Apr 24 14:10:48 2015 -0400

    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 32a4953..91bcc05 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();

-- 


Reply via email to