discomfitor pushed a commit to branch enlightenment-0.19.

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

commit 1e5eea91ee93c4f8e01acd1d6d54139db00f24f8
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jun 17 15:58:39 2015 -0400

    return an accurate value for override clients in 
e_comp_object_util_zone_get()
---
 src/bin/e_comp_object.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index c513932..f10d34e 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -2554,12 +2554,12 @@ e_comp_object_frame_extends_get(Evas_Object *obj, int 
*x, int *y, int *w, int *h
 EAPI E_Zone *
 e_comp_object_util_zone_get(Evas_Object *obj)
 {
-   E_Zone *zone;
+   E_Zone *zone = NULL;
 
    SOFT_ENTRY(NULL);
    if (cw)
      zone = cw->ec->zone;
-   else
+   if (!zone)
      {
         int x, y;
         E_Comp *c;

-- 


Reply via email to