From de91aaa4522918279b6b9615c99b2d90503b29c2 Mon Sep 17 00:00:00 2001 From: Petar Popovic Date: Thu, 4 Apr 2024 13:39:41 +0200 Subject: [PATCH] SDL_locale.h - SDL_GetPreferredLocales() - adding SDL_GetError() comment --- include/SDL3/SDL_locale.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/SDL3/SDL_locale.h b/include/SDL3/SDL_locale.h index 7ac803ca37..adea628193 100644 --- a/include/SDL3/SDL_locale.h +++ b/include/SDL3/SDL_locale.h @@ -84,7 +84,8 @@ typedef struct SDL_Locale * preferred locales. * * \returns array of locales, terminated with a locale with a NULL language - * field. Will return NULL on error. + * field. Will return NULL on error; call SDL_GetError() for more + * information. * * \since This function is available since SDL 3.0.0. */