Eina: eina_list_remove doc improvements
authorgastal <gastal>
Tue, 17 Jul 2012 21:09:55 +0000 (21:09 +0000)
committergastal <gastal@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 17 Jul 2012 21:09:55 +0000 (21:09 +0000)
This patch fixes a small typo and changes the return docs case
data is not found.

Author: Leandro Dorileo <dorileo@profusion.mobi>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@74026 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/include/eina_list.h

index 7f54b38..b78eb64 100644 (file)
@@ -570,11 +570,11 @@ EAPI Eina_List            *eina_list_sorted_insert(Eina_List *list, Eina_Compare
  * @return A list pointer.
  *
  * This function removes the first instance of @p data from
- * @p list. If the specified data is not in the given list (tihis
- * include the case where @p data is @c NULL), nothing is done. If
- * @p list is @c NULL, @c NULL is returned, otherwise a new list
- * pointer that should be used in place of the one passed to this
- * function.
+ * @p list. If the specified data is not in the given list (this
+ * includes the case where @p data is @c NULL), nothing is done and the
+ * specified @p list returned. If @p list is @c NULL, @c NULL is returned,
+ * otherwise a new list pointer that should be used in place of the one
+ * passed to this function.
  *
  * @warning @p list must be a pointer to the first element of the list.
  */