Просмотр исходного кода

Note that SDL_getenv() is case sensitive

Fixes https://github.com/libsdl-org/SDL/issues/15086

(cherry picked from commit 21e10b2e76184b78fd024fc21e3a994a77729c03)
Sam Lantinga 1 неделя назад
Родитель
Сommit
0f02c41ac0
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      include/SDL3/SDL_stdinc.h

+ 2 - 0
include/SDL3/SDL_stdinc.h

@@ -1796,6 +1796,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_DestroyEnvironment(SDL_Environment *env);
 /**
  * Get the value of a variable in the environment.
  *
+ * The name of the variable is case sensitive on all platforms.
+ *
  * This function uses SDL's cached copy of the environment and is thread-safe.
  *
  * \param name the name of the variable to get.