edje_cc only prints kitten-harming message with nosave

This commit is contained in:
Mike Blumenkrantz 2014-08-21 15:03:28 -04:00
parent 82c0f67f02
commit 84b985b45c
1 changed files with 3 additions and 3 deletions

View File

@ -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);