From 57f5d27427a7257b9a7790cee9470faf69878683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cheng?= Date: Sat, 13 Apr 2024 19:18:59 +0100 Subject: [PATCH] Doc: Fix documentation of GetDefaultValueCallback --- src/settings_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings_internal.h b/src/settings_internal.h index 32bfa258e4..a21805ae5d 100644 --- a/src/settings_internal.h +++ b/src/settings_internal.h @@ -165,9 +165,9 @@ struct IntSettingDesc : SettingDesc { */ typedef void PostChangeCallback(int32_t value); /** - * A callback to set the correct default value, in case it can be measured in time + * A callback to get the correct default value. For example a default that can be measured in time * units or expressed as a percentage. - * @param value The prospective new value for the setting. + * @return The correct default value for the setting. */ typedef int32_t GetDefaultValueCallback();