cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=186cb58238d05edb31c50693f3ba598789067bc9

commit 186cb58238d05edb31c50693f3ba598789067bc9
Author: Yomi <abyo...@gmail.com>
Date:   Thu Apr 16 18:29:10 2015 +0200

    edje: fix misspelling of annotate.
    
    Summary: Anotate to Annotate
    
    Test Plan: test it to make sure I didn't break it...
    
    Reviewers: raster, cedric
    
    Differential Revision: https://phab.enlightenment.org/D2356
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/bin/edje/edje_cc.c       | 12 ++++++------
 src/bin/edje/edje_cc.h       |  2 +-
 src/bin/edje/edje_cc_out.c   |  2 +-
 src/bin/edje/edje_cc_parse.c |  2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/bin/edje/edje_cc.c b/src/bin/edje/edje_cc.c
index 7b61271..45b4105 100644
--- a/src/bin/edje/edje_cc.c
+++ b/src/bin/edje/edje_cc.c
@@ -37,7 +37,7 @@ int        min_quality = 0;
 int        max_quality = 100;
 int        compress_mode = EET_COMPRESSION_HI;
 int        threads = 0;
-int        anotate = 0;
+int        annotate = 0;
 int        no_etc1 = 0;
 int        no_etc2 = 0;
 
@@ -91,8 +91,8 @@ main_help(void)
       "Where OPTIONS is one or more of:\n"
       "\n"
       "-w files.txt             Dump all sources files path into files.txt\n"
-      "-anotate                 Anotate the dumped files.\n"
-      "-deps files.txt          Dump gnu style include dependencies path into 
files.txt (overrides -w/-anotate)\n"
+      "-annotate                Annotate the dumped files.\n"
+      "-deps files.txt          Dump gnu style include dependencies path into 
files.txt (overrides -w/-annotate)\n"
       "-id image/directory      Add a directory to look in for relative path 
images\n"
       "-fd font/directory       Add a directory to look in for relative path 
fonts\n"
       "-sd sound/directory      Add a directory to look in for relative path 
sounds samples\n"
@@ -285,9 +285,9 @@ main(int argc, char **argv)
              watchfile = argv[i];
              unlink(watchfile);
          }
-       else if (!strcmp(argv[i], "-anotate"))
+       else if (!strcmp(argv[i], "-annotate"))
          {
-             anotate = 1;
+             annotate = 1;
           }
        else if ((!strcmp(argv[i], "-deps")) && (i < (argc - 1)))
          {
@@ -364,7 +364,7 @@ main(int argc, char **argv)
      }
 
    using_file(file_in, 'E');
-   if (anotate) using_file(file_out, 'O');
+   if (annotate) using_file(file_out, 'O');
 
    if (!edje_init())
      exit(-1);
diff --git a/src/bin/edje/edje_cc.h b/src/bin/edje/edje_cc.h
index a54341f..5efb076 100644
--- a/src/bin/edje/edje_cc.h
+++ b/src/bin/edje/edje_cc.h
@@ -289,7 +289,7 @@ extern New_Nested_Handler     nested_handlers[];
 extern New_Nested_Handler     nested_handlers_short[];
 extern int                    compress_mode;
 extern int                    threads;
-extern int                   anotate;
+extern int                    annotate;
 extern Eina_Bool current_group_inherit;
 
 extern int had_quote;
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index 0a0590f..e162707 100755
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -3593,7 +3593,7 @@ using_file(const char *filename, const char type)
      {
         f = fopen(watchfile, "ab");
         if (!f) return;
-        if (anotate)
+        if (annotate)
           {
              fprintf(f, "%c: %s\n", type, filename);
           }
diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c
index bfe80d2..71d3a31 100644
--- a/src/bin/edje/edje_cc_parse.c
+++ b/src/bin/edje/edje_cc_parse.c
@@ -978,7 +978,7 @@ compile(void)
                         buf2, depfile, file_out, file_in,
                         inc, def, clean_file,
                         EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
-             else if (anotate)
+             else if (annotate)
                snprintf(buf, sizeof(buf), "%s -anotate -a %s %s -I%s %s -o %s"
                         " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d",
                         buf2, watchfile ? watchfile : "/dev/null", file_in,

-- 


Reply via email to