summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-04-21 10:04:31 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-04-21 10:05:26 -0400
commitcefebd492170e3e43e08be9f8b8351573f68377f (patch)
tree42aee31133282dad2395aa998a6956693947d3b6
parentab4ab7e73ab62a6f4fa04484da96d96f6a7678da (diff)
edje now alerts the user to its failure when running recursive embryo programs
-rw-r--r--src/lib/edje/edje_embryo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/edje/edje_embryo.c b/src/lib/edje/edje_embryo.c
index 15e9710..b4ba41f 100644
--- a/src/lib/edje/edje_embryo.c
+++ b/src/lib/edje/edje_embryo.c
@@ -3871,6 +3871,8 @@ _edje_embryo_test_run(Edje *ed, const char *fname, const char *sig, const char *
3871 /* will likely end up being much longer than 0.016 seconds - more */ 3871 /* will likely end up being much longer than 0.016 seconds - more */
3872 /* like 0.03 - 0.05 seconds or even more */ 3872 /* like 0.03 - 0.05 seconds or even more */
3873 embryo_program_max_cycle_run_set(ed->collection->script, 5000000); 3873 embryo_program_max_cycle_run_set(ed->collection->script, 5000000);
3874 if (embryo_program_recursion_get(ed->collection->script))
3875 ERR("You are running Embryo->EDC->Embryo with script program '%s';\nBy the power of Grayskull, your previous Embryo stack is now broken!", fname);
3874 ret = embryo_program_run(ed->collection->script, fn); 3876 ret = embryo_program_run(ed->collection->script, fn);
3875 if (ret == EMBRYO_PROGRAM_FAIL) 3877 if (ret == EMBRYO_PROGRAM_FAIL)
3876 { 3878 {