Changed environment variable to match Debian patch 205_lock_keys.diff SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sat, 10 Oct 2009 09:02:17 +0000
branchSDL-1.2
changeset 42990ca47eaff9c9
parent 4298 7d60c0ac6aae
child 4300 602642738b83
Changed environment variable to match Debian patch 205_lock_keys.diff
WhatsNew
docs.html
src/events/SDL_keyboard.c
     1.1 --- a/WhatsNew	Sat Oct 10 08:59:28 2009 +0000
     1.2 +++ b/WhatsNew	Sat Oct 10 09:02:17 2009 +0000
     1.3 @@ -8,7 +8,7 @@
     1.4  		SDL_reinterpret_cast(type, expression)
     1.5  		SDL_static_cast(type, expression)
     1.6  
     1.7 -	Added SDL_NO_LOCK_KEYS environment variable to enable normal
     1.8 +	Added SDL_DISABLE_LOCK_KEYS environment variable to enable normal
     1.9  	up/down events for Caps-Lock and Num-Lock keys.
    1.10  
    1.11  1.2.13:
     2.1 --- a/docs.html	Sat Oct 10 08:59:28 2009 +0000
     2.2 +++ b/docs.html	Sat Oct 10 09:02:17 2009 +0000
     2.3 @@ -34,7 +34,7 @@
     2.4  	Fixed freeze in SDL_memset() with 0 length when assembly code is disabled.
     2.5  </P>
     2.6  <P>
     2.7 -	Added SDL_NO_LOCK_KEYS environment variable to enable normal up/down events for Caps-Lock and Num-Lock keys.
     2.8 +	Added SDL_DISABLE_LOCK_KEYS environment variable to enable normal up/down events for Caps-Lock and Num-Lock keys.
     2.9  </P>
    2.10  <P>
    2.11  	Fixed audio quality problem when converting between 22050 Hz and 44100 Hz.
     3.1 --- a/src/events/SDL_keyboard.c	Sat Oct 10 08:59:28 2009 +0000
     3.2 +++ b/src/events/SDL_keyboard.c	Sat Oct 10 09:02:17 2009 +0000
     3.3 @@ -73,8 +73,8 @@
     3.4  	SDL_EnableKeyRepeat(0, 0);
     3.5  
     3.6  	/* Allow environment override to disable special lock-key behavior */
     3.7 -	env = SDL_getenv("SDL_NO_LOCK_KEYS");
     3.8  	SDL_NoLockKeys = 0;
     3.9 +	env = SDL_getenv("SDL_DISABLE_LOCK_KEYS");
    3.10  	if (env) {
    3.11  		switch (SDL_atoi(env)) {
    3.12  			case 1: