efl - edje_cc - fix default state checks in previous commit

this fixes 0cb33a4675
@fix
This commit is contained in:
Carsten Haitzler 2015-01-12 18:01:34 +09:00
parent 0cb33a4675
commit 82014cad2c
1 changed files with 2 additions and 2 deletions

View File

@ -6478,7 +6478,7 @@ st_collections_group_parts_part_description_state(void)
if (ep->other.desc_count) ed = ep->other.desc[ep->other.desc_count - 1];
s = parse_str(0);
if (!strcmp(s, "default"))
if ((!current_group_inherit) && (!strcmp(s, "default")))
{
double v;
@ -6500,7 +6500,7 @@ st_collections_group_parts_part_description_state(void)
file_in, line - 1, s);
exit(-1);
}
if (ed == ep->default_desc)
if ((!current_group_inherit) && (ed == ep->default_desc))
{
if (strcmp(s, "default"))
{