From 17e7ea400ca4902e33a17f523710e7436141c85a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 19 Apr 2013 16:47:06 +0100 Subject: [PATCH] improve comp mirror safety check again --- 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 eeafbee8f..8b946a3dc 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -1920,7 +1920,7 @@ _e_comp_win_mirror_add(E_Comp_Win *cw) Evas_Object *o; int w, h; - EINA_SAFETY_ON_TRUE_RETURN_VAL(((!cw->pixmap) || (!cw->pw) || (!cw->ph)) && (!cw->real_obj), NULL); + EINA_SAFETY_ON_TRUE_RETURN_VAL(((!cw->pixmap) || (!cw->pw) || (!cw->ph)) && (!cw->real_obj) && ((!cw->w) || (!cw->h)), NULL); o = evas_object_image_filled_add(cw->c->evas); evas_object_image_colorspace_set(o, EVAS_COLORSPACE_ARGB8888);