Mercurial > sdl-ios-xcode
diff src/video/ataricommon/SDL_atarievents.c @ 1668:4da1ee79c9af SDL-1.3
more tweaking indent options
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 29 May 2006 04:04:35 +0000 |
parents | 782fd950bd46 |
children |
line wrap: on
line diff
--- a/src/video/ataricommon/SDL_atarievents.c Mon May 29 03:53:21 2006 +0000 +++ b/src/video/ataricommon/SDL_atarievents.c Mon May 29 04:04:35 2006 +0000 @@ -52,13 +52,13 @@ void (*Atari_ShutdownEvents) (void); static void -Atari_InitializeEvents (_THIS) +Atari_InitializeEvents(_THIS) { const char *envr; unsigned long cookie_mch; /* Test if we are on an Atari machine or not */ - if (Getcookie (C__MCH, &cookie_mch) == C_NOTFOUND) { + if (Getcookie(C__MCH, &cookie_mch) == C_NOTFOUND) { cookie_mch = 0; } cookie_mch >>= 16; @@ -81,25 +81,25 @@ break; } - envr = SDL_getenv ("SDL_ATARI_EVENTSDRIVER"); + envr = SDL_getenv("SDL_ATARI_EVENTSDRIVER"); if (!envr) { return; } - if (SDL_strcmp (envr, "ikbd") == 0) { + if (SDL_strcmp(envr, "ikbd") == 0) { this->InitOSKeymap = AtariIkbd_InitOSKeymap; this->PumpEvents = AtariIkbd_PumpEvents; Atari_ShutdownEvents = AtariIkbd_ShutdownEvents; } - if (SDL_strcmp (envr, "gemdos") == 0) { + if (SDL_strcmp(envr, "gemdos") == 0) { this->InitOSKeymap = AtariGemdos_InitOSKeymap; this->PumpEvents = AtariGemdos_PumpEvents; Atari_ShutdownEvents = AtariGemdos_ShutdownEvents; } - if (SDL_strcmp (envr, "bios") == 0) { + if (SDL_strcmp(envr, "bios") == 0) { this->InitOSKeymap = AtariBios_InitOSKeymap; this->PumpEvents = AtariBios_PumpEvents; Atari_ShutdownEvents = AtariBios_ShutdownEvents; @@ -107,21 +107,21 @@ } void -Atari_InitOSKeymap (_THIS) +Atari_InitOSKeymap(_THIS) { - Atari_InitializeEvents (this); + Atari_InitializeEvents(this); /* Call choosen routine */ - this->InitOSKeymap (this); + this->InitOSKeymap(this); } void -Atari_PumpEvents (_THIS) +Atari_PumpEvents(_THIS) { - Atari_InitializeEvents (this); + Atari_InitializeEvents(this); /* Call choosen routine */ - this->PumpEvents (this); + this->PumpEvents(this); } /* Atari to Unicode charset translation table */