summaryrefslogtreecommitdiff
path: root/src/bin/edje/edje_cc_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/edje/edje_cc_out.c')
-rw-r--r--src/bin/edje/edje_cc_out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index 2b5f700e3e..f932eac9e9 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -736,10 +736,10 @@ check_program(Edje_Part_Collection *pc, Edje_Program *ep, Eet_File *ef)
736 736
737 /* 737 /*
738 * we are accessing part with an id, 738 * we are accessing part with an id,
739 * if actions is ACTION_STOP or ACTION_TYPE_SCRIPT, then id is from the parts array. 739 * if actions is ACTION_STOP or ACTION_TYPE_SCRIPT, then id is NOT from the parts array.
740 * In order to not crash here, we should continue here. 740 * In order to not crash here, we should continue here.
741 */ 741 */
742 if (ep->action != EDJE_ACTION_TYPE_ACTION_STOP || ep->action != EDJE_ACTION_TYPE_SCRIPT) 742 if (ep->action == EDJE_ACTION_TYPE_ACTION_STOP || ep->action == EDJE_ACTION_TYPE_SCRIPT)
743 continue; 743 continue;
744 744
745 if (et->id >= (int) pc->parts_count) 745 if (et->id >= (int) pc->parts_count)