mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-16 09:57:06 +00:00
Fix using wrong variable by mistake
This commit is contained in:
@@ -2619,7 +2619,7 @@ static int SDL_PrivateAddGamepadMapping(const char *mappingString, SDL_GamepadMa
|
||||
} else {
|
||||
const char *hint_value = SDL_GetHint(hint);
|
||||
if (!hint_value) {
|
||||
hint_value = SDL_getenv_unsafe(hint_value);
|
||||
hint_value = SDL_getenv_unsafe(hint);
|
||||
}
|
||||
value = SDL_GetStringBoolean(hint_value, default_value);
|
||||
if (negate) {
|
||||
|
||||
Reference in New Issue
Block a user