diff src/events/SDL_keyboard.c @ 4299:0ca47eaff9c9 SDL-1.2

Changed environment variable to match Debian patch 205_lock_keys.diff
author Sam Lantinga <slouken@libsdl.org>
date Sat, 10 Oct 2009 09:02:17 +0000
parents 3b7fc3416601
children
line wrap: on
line diff
--- a/src/events/SDL_keyboard.c	Sat Oct 10 08:59:28 2009 +0000
+++ b/src/events/SDL_keyboard.c	Sat Oct 10 09:02:17 2009 +0000
@@ -73,8 +73,8 @@
 	SDL_EnableKeyRepeat(0, 0);
 
 	/* Allow environment override to disable special lock-key behavior */
-	env = SDL_getenv("SDL_NO_LOCK_KEYS");
 	SDL_NoLockKeys = 0;
+	env = SDL_getenv("SDL_DISABLE_LOCK_KEYS");
 	if (env) {
 		switch (SDL_atoi(env)) {
 			case 1: