Browse Source

SDL_locale.h - SDL_GetPreferredLocales() - adding SDL_GetError() comment

Petar Popovic 1 year ago
parent
commit
de91aaa452
1 changed files with 2 additions and 1 deletions
  1. 2 1
      include/SDL3/SDL_locale.h

+ 2 - 1
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.
  */