diff options
author | Yomi <abyomi0@gmail.com> | 2015-04-16 18:29:10 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-04-16 19:21:45 +0200 |
commit | 186cb58238d05edb31c50693f3ba598789067bc9 (patch) | |
tree | b668a1c18532044c5a9d2dd03756faa29c327b80 /src/bin/edje | |
parent | ee08fa9b1a88072aa4d12c34b0185fde456922a5 (diff) |
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 <cedric@osg.samsung.com>
Diffstat (limited to 'src/bin/edje')
-rw-r--r-- | src/bin/edje/edje_cc.c | 12 | ||||
-rw-r--r-- | src/bin/edje/edje_cc.h | 2 | ||||
-rwxr-xr-x | src/bin/edje/edje_cc_out.c | 2 | ||||
-rw-r--r-- | 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 7b61271064..45b4105b43 100644 --- a/src/bin/edje/edje_cc.c +++ b/src/bin/edje/edje_cc.c | |||
@@ -37,7 +37,7 @@ int min_quality = 0; | |||
37 | int max_quality = 100; | 37 | int max_quality = 100; |
38 | int compress_mode = EET_COMPRESSION_HI; | 38 | int compress_mode = EET_COMPRESSION_HI; |
39 | int threads = 0; | 39 | int threads = 0; |
40 | int anotate = 0; | 40 | int annotate = 0; |
41 | int no_etc1 = 0; | 41 | int no_etc1 = 0; |
42 | int no_etc2 = 0; | 42 | int no_etc2 = 0; |
43 | 43 | ||
@@ -91,8 +91,8 @@ main_help(void) | |||
91 | "Where OPTIONS is one or more of:\n" | 91 | "Where OPTIONS is one or more of:\n" |
92 | "\n" | 92 | "\n" |
93 | "-w files.txt Dump all sources files path into files.txt\n" | 93 | "-w files.txt Dump all sources files path into files.txt\n" |
94 | "-anotate Anotate the dumped files.\n" | 94 | "-annotate Annotate the dumped files.\n" |
95 | "-deps files.txt Dump gnu style include dependencies path into files.txt (overrides -w/-anotate)\n" | 95 | "-deps files.txt Dump gnu style include dependencies path into files.txt (overrides -w/-annotate)\n" |
96 | "-id image/directory Add a directory to look in for relative path images\n" | 96 | "-id image/directory Add a directory to look in for relative path images\n" |
97 | "-fd font/directory Add a directory to look in for relative path fonts\n" | 97 | "-fd font/directory Add a directory to look in for relative path fonts\n" |
98 | "-sd sound/directory Add a directory to look in for relative path sounds samples\n" | 98 | "-sd sound/directory Add a directory to look in for relative path sounds samples\n" |
@@ -285,9 +285,9 @@ main(int argc, char **argv) | |||
285 | watchfile = argv[i]; | 285 | watchfile = argv[i]; |
286 | unlink(watchfile); | 286 | unlink(watchfile); |
287 | } | 287 | } |
288 | else if (!strcmp(argv[i], "-anotate")) | 288 | else if (!strcmp(argv[i], "-annotate")) |
289 | { | 289 | { |
290 | anotate = 1; | 290 | annotate = 1; |
291 | } | 291 | } |
292 | else if ((!strcmp(argv[i], "-deps")) && (i < (argc - 1))) | 292 | else if ((!strcmp(argv[i], "-deps")) && (i < (argc - 1))) |
293 | { | 293 | { |
@@ -364,7 +364,7 @@ main(int argc, char **argv) | |||
364 | } | 364 | } |
365 | 365 | ||
366 | using_file(file_in, 'E'); | 366 | using_file(file_in, 'E'); |
367 | if (anotate) using_file(file_out, 'O'); | 367 | if (annotate) using_file(file_out, 'O'); |
368 | 368 | ||
369 | if (!edje_init()) | 369 | if (!edje_init()) |
370 | exit(-1); | 370 | exit(-1); |
diff --git a/src/bin/edje/edje_cc.h b/src/bin/edje/edje_cc.h index a54341f8f6..5efb076035 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[]; | |||
289 | extern New_Nested_Handler nested_handlers_short[]; | 289 | extern New_Nested_Handler nested_handlers_short[]; |
290 | extern int compress_mode; | 290 | extern int compress_mode; |
291 | extern int threads; | 291 | extern int threads; |
292 | extern int anotate; | 292 | extern int annotate; |
293 | extern Eina_Bool current_group_inherit; | 293 | extern Eina_Bool current_group_inherit; |
294 | 294 | ||
295 | extern int had_quote; | 295 | extern int had_quote; |
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c index 0a0590fa21..e1627070d3 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) | |||
3593 | { | 3593 | { |
3594 | f = fopen(watchfile, "ab"); | 3594 | f = fopen(watchfile, "ab"); |
3595 | if (!f) return; | 3595 | if (!f) return; |
3596 | if (anotate) | 3596 | if (annotate) |
3597 | { | 3597 | { |
3598 | fprintf(f, "%c: %s\n", type, filename); | 3598 | fprintf(f, "%c: %s\n", type, filename); |
3599 | } | 3599 | } |
diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c index bfe80d2317..71d3a319c4 100644 --- a/src/bin/edje/edje_cc_parse.c +++ b/src/bin/edje/edje_cc_parse.c | |||
@@ -978,7 +978,7 @@ compile(void) | |||
978 | buf2, depfile, file_out, file_in, | 978 | buf2, depfile, file_out, file_in, |
979 | inc, def, clean_file, | 979 | inc, def, clean_file, |
980 | EINA_VERSION_MAJOR, EINA_VERSION_MINOR); | 980 | EINA_VERSION_MAJOR, EINA_VERSION_MINOR); |
981 | else if (anotate) | 981 | else if (annotate) |
982 | snprintf(buf, sizeof(buf), "%s -anotate -a %s %s -I%s %s -o %s" | 982 | snprintf(buf, sizeof(buf), "%s -anotate -a %s %s -I%s %s -o %s" |
983 | " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d", | 983 | " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d", |
984 | buf2, watchfile ? watchfile : "/dev/null", file_in, | 984 | buf2, watchfile ? watchfile : "/dev/null", file_in, |