discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=84b985b45c231c194e75bb2ce670a9b39e2bf45e

commit 84b985b45c231c194e75bb2ce670a9b39e2bf45e
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Aug 21 15:03:28 2014 -0400

    edje_cc only prints kitten-harming message with nosave
---
 src/bin/edje/edje_cc_out.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index b80c6ec..d8a26c4 100755
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -1416,13 +1416,13 @@ data_thread_script(void *data, Ecore_Thread *thread 
EINA_UNUSED)
      }
    fclose(f);
 
-   if (!no_save)
+   if (no_save)
+     WRN("You are removing the source from this Edje file. This may break some 
use cases.\nBe aware of your choice and the poor kitten you are harming with 
it!");
+   else
      {
         Eina_List *ll;
         Code_Program *cp;
 
-        WRN("You are removing the source from this Edje file. This may break 
some use cases.\nBe aware of your choice and the poor kitten you are harming 
with it!");
-
         if (sc->cd->original)
           {
              snprintf(buf, PATH_MAX, "edje/scripts/embryo/source/%i", sc->i);

-- 


Reply via email to