From a0a83410c4b48dd3b90f377f7c8a6f047ed3f519 Mon Sep 17 00:00:00 2001 From: Jessica Hamilton Date: Tue, 24 May 2022 16:09:19 +1200 Subject: [PATCH] docs/BList: fix `DoForEach` to match BeOS. * The function passed to `DoForEach` returns `true` to terminate the loop early Change-Id: If445836b14c44b981d169564e7beab8c0ecac36f Reviewed-on: https://review.haiku-os.org/c/haiku/+/5336 Reviewed-by: waddlesplash --- docs/user/support/List.dox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user/support/List.dox b/docs/user/support/List.dox index d459487b81..b77642ce04 100644 --- a/docs/user/support/List.dox +++ b/docs/user/support/List.dox @@ -546,7 +546,7 @@ A C D E F G B H I J \brief Perform an action on every item in the list. If one of the actions on the items fails it means that the \a func function - returned \c false and the processing of the list will be stopped. + returned \c true and the processing of the list will be stopped. \param func A pointer to a function that takes a \c void* argument and returns a bool. @@ -562,7 +562,7 @@ A C D E F G B H I J \brief Perform an action on every item in the list with an argument. If one of the actions on the items fails it means that the \a func function - returned \c false and the processing of the list will be stopped. + returned \c true and the processing of the list will be stopped. \param func A function with the first \c void* argument being the item and the second \c void* being the argument that you supply. It