Mercurial > sdl-ios-xcode
diff src/video/maccommon/SDL_macevents.c @ 1621:f12379c41042
Fixes bug #195:
The proper name of Apple's operating system is "Mac OS X" not "MacOS X", as can
bee seen in many places, for example http://www.apple.com/macosx/). This
contrasts the naming of the old operating system, which was called "MacOS" and
today is often refered to as "MacOS Classic".
The attached patches fixes the misuse of the name "MacOS X" in both the SDL12
and sdlweb CVS modules.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 13 Apr 2006 13:08:26 +0000 |
parents | d910939febfa |
children | e49147870aac c121d94672cb 0f8a812e2855 |
line wrap: on
line diff
--- a/src/video/maccommon/SDL_macevents.c Wed Apr 12 14:38:47 2006 +0000 +++ b/src/video/maccommon/SDL_macevents.c Thu Apr 13 13:08:26 2006 +0000 @@ -210,7 +210,7 @@ } /* Check for normal event keys, but we have to scan the - actual keyboard state because on MacOS X a keydown event + actual keyboard state because on Mac OS X a keydown event is immediately followed by a keyup event. */ GetKeys(keys); @@ -573,7 +573,7 @@ MAC_keymap[MK_KP_PERIOD] = SDLK_KP_PERIOD; #if defined(__APPLE__) && defined(__MACH__) - /* Wierd, these keys are on my iBook under MacOS X + /* Wierd, these keys are on my iBook under Mac OS X Note that the left arrow keysym is the same as left ctrl!? */ MAC_keymap[MK_IBOOK_ENTER] = SDLK_KP_ENTER; @@ -581,7 +581,7 @@ MAC_keymap[MK_IBOOK_DOWN] = SDLK_DOWN; MAC_keymap[MK_IBOOK_UP] = SDLK_UP; MAC_keymap[MK_IBOOK_LEFT] = SDLK_LEFT; -#endif /* MacOS X */ +#endif /* Mac OS X */ /* Up there we setup a static scancode->keysym map. However, it will not * work very well on international keyboard. Hence we now query MacOS