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
This commit is contained in:
Carsten Haitzler 2017-07-28 20:54:41 +09:00
parent 16abe895c6
commit e9123a5a58
1 changed files with 1 additions and 1 deletions

View File

@ -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);