summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-01-12 18:01:34 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-01-12 18:01:34 +0900
commit82014cad2c11b40e455e0578d22f09b04ebd1e5c (patch)
tree554955b2dda53ce509245eaed422a706fafedc3b
parent0cb33a46758bd1f66653e97d7ad027a9529b1279 (diff)
downloadefl-82014cad2c11b40e455e0578d22f09b04ebd1e5c.tar.gz
efl - edje_cc - fix default state checks in previous commit
this fixes 0cb33a46758bd1f66653e97d7ad027a9529b1279 @fix
-rw-r--r--src/bin/edje/edje_cc_handlers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index dfb8ed48de..df2b1d2a95 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -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"))
{