From 06a5d4d24fca2a3dd972bfe14efb25b43db473b9 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 9 May 2024 16:53:02 -0700 Subject: [PATCH] Documented the return value of SDL_GetDateTimeLocalePreferences() --- include/SDL3/SDL_time.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/SDL3/SDL_time.h b/include/SDL3/SDL_time.h index ea536556fb..69d3dae568 100644 --- a/include/SDL3/SDL_time.h +++ b/include/SDL3/SDL_time.h @@ -95,6 +95,8 @@ typedef enum SDL_TimeFormat * format, may be NULL * \param timeFormat a pointer to the SDL_TimeFormat to hold the returned time * format, may be NULL + * \returns 0 on success or -1 on error; call SDL_GetError() for more + * information. * * \since This function is available since SDL 3.0.0. */