src/video/ataricommon/SDL_atarievents.c
changeset 1336 3692456e7b0f
parent 1312 c9b51268668f
child 1338 604d73db6802
     1.1 --- a/src/video/ataricommon/SDL_atarievents.c	Mon Feb 06 17:28:04 2006 +0000
     1.2 +++ b/src/video/ataricommon/SDL_atarievents.c	Tue Feb 07 06:59:48 2006 +0000
     1.3 @@ -82,25 +82,25 @@
     1.4  			break;
     1.5  	}
     1.6  
     1.7 -	envr = getenv("SDL_ATARI_EVENTSDRIVER");
     1.8 +	envr = SDL_getenv("SDL_ATARI_EVENTSDRIVER");
     1.9  
    1.10   	if (!envr) {
    1.11  		return;
    1.12  	}
    1.13  
    1.14 -	if (strcmp(envr, "ikbd") == 0) {
    1.15 +	if (SDL_strcmp(envr, "ikbd") == 0) {
    1.16  		this->InitOSKeymap=AtariIkbd_InitOSKeymap;
    1.17  		this->PumpEvents=AtariIkbd_PumpEvents;
    1.18  		Atari_ShutdownEvents=AtariIkbd_ShutdownEvents;
    1.19  	}
    1.20  
    1.21 -	if (strcmp(envr, "gemdos") == 0) {
    1.22 +	if (SDL_strcmp(envr, "gemdos") == 0) {
    1.23  		this->InitOSKeymap=AtariGemdos_InitOSKeymap;
    1.24  		this->PumpEvents=AtariGemdos_PumpEvents;
    1.25  		Atari_ShutdownEvents=AtariGemdos_ShutdownEvents;
    1.26  	}
    1.27  
    1.28 -	if (strcmp(envr, "bios") == 0) {
    1.29 +	if (SDL_strcmp(envr, "bios") == 0) {
    1.30  		this->InitOSKeymap=AtariBios_InitOSKeymap;
    1.31  		this->PumpEvents=AtariBios_PumpEvents;
    1.32  		Atari_ShutdownEvents=AtariBios_ShutdownEvents;