devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=47f34bb7a3e532d8ee5daded69528bd3c44ad229

commit 47f34bb7a3e532d8ee5daded69528bd3c44ad229
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Mar 13 12:11:46 2017 -0400

    eina: Fix typo in doxygen
    
    eina_(rw)_slice_startswith functions both incorrectly describe the
    return value as 'slice ends with', when clearly the function is used
    to find if a slice 'starts with' a prefix
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/eina/eina_slice.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eina/eina_slice.h b/src/lib/eina/eina_slice.h
index 35042d9..7e48472 100644
--- a/src/lib/eina/eina_slice.h
+++ b/src/lib/eina/eina_slice.h
@@ -257,7 +257,7 @@ static inline const void *eina_slice_find(const Eina_Slice 
slice, const Eina_Sli
  *
  * @param slice the reference memory.
  * @param prefix the slice to check if @a slice ends with.
- * @return #EINA_TRUE if @a slice ends with @a prefix, #EINA_FALSE otherwise.
+ * @return #EINA_TRUE if @a slice starts with @a prefix, #EINA_FALSE otherwise.
  *
  * @since 1.19
  */
@@ -301,7 +301,7 @@ static inline void *eina_rw_slice_find(const Eina_Rw_Slice 
rw_slice, const Eina_
  *
  * @param slice the reference memory.
  * @param prefix the slice to check if @a slice ends with.
- * @return #EINA_TRUE if @a slice ends with @a prefix, #EINA_FALSE otherwise.
+ * @return #EINA_TRUE if @a slice starts with @a prefix, #EINA_FALSE otherwise.
  *
  * @since 1.19
  */

-- 


Reply via email to