discomfitor pushed a commit to branch master.
commit 17e7ea400ca4902e33a17f523710e7436141c85a
Author: Mike Blumenkrantz <[email protected]>
Date: Fri Apr 19 16:47:06 2013 +0100
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 eeafbee..8b946a3 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);
--
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter