From 405dfbe1a32fb136f46ea2b69fb760a1da315d9c Mon Sep 17 00:00:00 2001 From: lucas Date: Fri, 15 Jul 2011 14:31:31 +0000 Subject: [PATCH] eina: fix common misspellings Misspellings detected by codespell. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@61405 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/include/Eina.h | 2 +- src/include/eina_accessor.h | 2 +- src/include/eina_array.h | 2 +- src/include/eina_file.h | 2 +- src/include/eina_hash.h | 2 +- src/include/eina_iterator.h | 2 +- src/include/eina_str.h | 4 ++-- src/include/eina_strbuf.h | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/include/Eina.h b/src/include/Eina.h index 3400878..fe8c52a 100644 --- a/src/include/Eina.h +++ b/src/include/Eina.h @@ -61,7 +61,7 @@ * * The Eina library is a library that implements an API for data types * in an efficient way. It also provides some useful tools like - * openin shared libraries, errors management, type conversion, + * opening shared libraries, errors management, type conversion, * time accounting and memory pool. * * This library is cross-platform and can be compiled and used on diff --git a/src/include/eina_accessor.h b/src/include/eina_accessor.h index b5ce583..62b2b03 100644 --- a/src/include/eina_accessor.h +++ b/src/include/eina_accessor.h @@ -253,7 +253,7 @@ EAPI void eina_accessor_over(Eina_Accessor *accessor, * * If the container of the @p accessor permits it, it will be locked. When a * container is locked calling eina_accessor_over() on it will return - * imediately. If @p accessor is @c NULL or if a problem occurred, #EINA_FALSE + * immediately. If @p accessor is @c NULL or if a problem occurred, #EINA_FALSE * is returned, otherwise #EINA_TRUE is returned. If the container isn't * lockable, it will return EINA_TRUE. * diff --git a/src/include/eina_array.h b/src/include/eina_array.h index 7ee5f53..10503db 100644 --- a/src/include/eina_array.h +++ b/src/include/eina_array.h @@ -290,7 +290,7 @@ EAPI void eina_array_step_set(Eina_Array *array, * @param array The array to clean. * * This function sets the count member of @p array to 0, however it doesn't free - * any space. This is particularly usefull if you need to empty the array and + * any space. This is particularly useful if you need to empty the array and * add lots of elements quickly. For performance reasons, there is no check of * @p array. If it is @c NULL or invalid, the program may crash. */ diff --git a/src/include/eina_file.h b/src/include/eina_file.h index e02e501..fbcc103 100644 --- a/src/include/eina_file.h +++ b/src/include/eina_file.h @@ -31,7 +31,7 @@ * @page eina_file_example_01_page * @dontinclude eina_file_01.c * - * For brevity includes, variable declarations and initialization was ommited + * For brevity includes, variable declarations and initialization was omitted * from this page, however the full source code can be seen @ref * eina_file_example_01 "here". * diff --git a/src/include/eina_hash.h b/src/include/eina_hash.h index c3e1bb9..d03202e 100644 --- a/src/include/eina_hash.h +++ b/src/include/eina_hash.h @@ -228,7 +228,7 @@ * * Basically for a very small number of keys (10 or less), @c djb2 should be * used, or @c string_small if you have a restriction on memory usage. And for a - * higher number of keys, @c string_superfast should be always prefered. + * higher number of keys, @c string_superfast should be always preferred. * * If just stringshared keys are being added, use @ref * eina_hash_stringshared_new. If a lot of keys will be added to the hash table diff --git a/src/include/eina_iterator.h b/src/include/eina_iterator.h index 5cb2250..546340b 100644 --- a/src/include/eina_iterator.h +++ b/src/include/eina_iterator.h @@ -255,7 +255,7 @@ EAPI void eina_iterator_foreach(Eina_Iterator *iterator, * * If the container of the @p iterator permits it, it will be locked. When a * container is locked calling eina_iterator_foreach() on it will return - * imediately. If @p iterator is @c NULL or if a problem occurred, #EINA_FALSE + * immediately. If @p iterator is @c NULL or if a problem occurred, #EINA_FALSE * is returned, otherwise #EINA_TRUE is returned. If the container isn't * lockable, it will return EINA_TRUE. * diff --git a/src/include/eina_str.h b/src/include/eina_str.h index e725e21..d6b0446 100644 --- a/src/include/eina_str.h +++ b/src/include/eina_str.h @@ -18,7 +18,7 @@ * eina: * @until eina_init * - * It's frequentely nescessary to split a string into it's constituent parts, + * It's frequentely necessary to split a string into its constituent parts, * eina_str_split() make's it easy to do so: * @until printf * @@ -32,7 +32,7 @@ * @until Has * * When strings will be used in a terminal(or a number of other places) it - * nescessary to escape certain characters that appear in them: + * necessary to escape certain characters that appear in them: * @until printf * * Much as we previously split a string we will now join two strings: diff --git a/src/include/eina_strbuf.h b/src/include/eina_strbuf.h index f8f90e6..226bf16 100644 --- a/src/include/eina_strbuf.h +++ b/src/include/eina_strbuf.h @@ -20,7 +20,7 @@ * * Here you can see two different ways of creating a buffer with the same * contents. We could create them in simpler ways, but this gives us an - * oportunity to demonstrate several functions in action: + * opportunity to demonstrate several functions in action: * @until strbuf_reset * @until strbuf_reset * -- 2.7.4