raster pushed a commit to branch master.

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

commit e9123a5a585d8932c934c95b21827dcd98c8aa48
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Fri Jul 28 20:54:41 2017 +0900

    edje edit - when adding size class set max width and height to -1
    
    since we're not using size class yet.. we hvent had to debug this...
    but it is a bug.
    
    fond by PVS studio
    
    @fix
---
 src/lib/edje/edje_edit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 15da38971b..63b91d8cd9 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -8129,7 +8129,7 @@ edje_edit_size_class_add(Evas_Object *obj, const char 
*name)
 
    s->name = eina_stringshare_add(name);
    /* set default values for max */
-   s->maxh = -1;
+   s->maxw = -1;
    s->maxh = -1;
 
    ed->file->size_classes = eina_list_append(ed->file->size_classes, s);

-- 


Reply via email to