diff src/events/SDL_keyboard.c @ 4162:3b7fc3416601 SDL-1.2

GAPI fixes from Stefan Klug
author Sam Lantinga <slouken@libsdl.org>
date Mon, 16 Feb 2009 22:32:34 +0000
parents a1b03ba2fcd0
children 0ca47eaff9c9
line wrap: on
line diff
--- a/src/events/SDL_keyboard.c	Fri Jan 30 01:40:44 2009 +0000
+++ b/src/events/SDL_keyboard.c	Mon Feb 16 22:32:34 2009 +0000
@@ -73,7 +73,7 @@
 	SDL_EnableKeyRepeat(0, 0);
 
 	/* Allow environment override to disable special lock-key behavior */
-	env = getenv("SDL_NO_LOCK_KEYS");
+	env = SDL_getenv("SDL_NO_LOCK_KEYS");
 	SDL_NoLockKeys = 0;
 	if (env) {
 		switch (SDL_atoi(env)) {