cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=863ed65a0fcf85b996f5baa5a38050217b9eae04

commit 863ed65a0fcf85b996f5baa5a38050217b9eae04
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Thu Apr 16 18:41:42 2015 +0200

    epp: fix annotate.
---
 src/bin/edje/edje_cc_parse.c | 2 +-
 src/bin/edje/epp/cpplib.c    | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c
index 71d3a31..4e28843 100644
--- a/src/bin/edje/edje_cc_parse.c
+++ b/src/bin/edje/edje_cc_parse.c
@@ -979,7 +979,7 @@ compile(void)
                         inc, def, clean_file,
                         EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
              else if (annotate)
-               snprintf(buf, sizeof(buf), "%s -anotate -a %s %s -I%s %s -o %s"
+               snprintf(buf, sizeof(buf), "%s -annotate -a %s %s -I%s %s -o %s"
                         " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d",
                         buf2, watchfile ? watchfile : "/dev/null", file_in,
                         inc, def, clean_file,
diff --git a/src/bin/edje/epp/cpplib.c b/src/bin/edje/epp/cpplib.c
index 3104012..b8e0ff2 100644
--- a/src/bin/edje/epp/cpplib.c
+++ b/src/bin/edje/epp/cpplib.c
@@ -500,7 +500,7 @@ unsigned char       is_hor_space[256];
 /* table to tell if c is horizontal or vertical space.  */
 static unsigned char is_space[256];
 
-static int           anotate = 0;
+static int           annotate = 0;
 
 /* Initialize syntactic classifications of characters.  */
 
@@ -6612,9 +6612,9 @@ cpp_handle_options(cpp_reader * pfile, int argc, char 
**argv)
                                opts->watchfile = argv[i];
                             }
                        }
-                     else if (!strcmp(argv[i], "-anotate"))
+                     else if (!strcmp(argv[i], "-annotate"))
                        {
-                          anotate = 1;
+                          annotate = 1;
                        }
                     break;
                   }
@@ -7494,7 +7494,7 @@ using_file(const char *filename, const char type)
    if (!options.watchfile) return;
    f = fopen(options.watchfile, "a");
    if (!f) return;
-   if (anotate)
+   if (annotate)
      {
         fprintf(f, "%c: %s\n", type, filename);
      }

-- 


Reply via email to