mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-27 23:19:11 +00:00
Fixed some accidental uses of external C runtime functions
This commit is contained in:
parent
5d455cabf9
commit
345c161feb
10 changed files with 47 additions and 45 deletions
|
@ -386,7 +386,7 @@ SDL_EVDEV_kbd_init(void)
|
|||
}
|
||||
|
||||
/* Allow inhibiting keyboard mute with env. variable for debugging etc. */
|
||||
if (getenv("SDL_INPUT_LINUX_KEEP_KBD") == NULL) {
|
||||
if (SDL_getenv("SDL_INPUT_LINUX_KEEP_KBD") == NULL) {
|
||||
/* Mute the keyboard so keystrokes only generate evdev events
|
||||
* and do not leak through to the console
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue