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>
This commit is contained in:
Yomi 2015-04-16 18:29:10 +02:00 committed by Cedric BAIL
parent ee08fa9b1a
commit 186cb58238
4 changed files with 9 additions and 9 deletions

View File

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

View File

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

View File

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

View File

@ -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,