diff --git a/src/lib/eina/eina_slice.h b/src/lib/eina/eina_slice.h index 35042d953a..7e4847215d 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 */