comparison src/video/maccommon/SDL_macevents.c @ 1379:c0a74f199ecf

Use only safe string functions
author Sam Lantinga <slouken@libsdl.org>
date Sun, 19 Feb 2006 23:46:34 +0000
parents 19418e4422cb
children d910939febfa
comparison
equal deleted inserted replaced
1378:dc0e13e7e1ae 1379:c0a74f199ecf
455 UInt32 value; 455 UInt32 value;
456 int i; 456 int i;
457 int world = SDLK_WORLD_0; 457 int world = SDLK_WORLD_0;
458 458
459 /* Map the MAC keysyms */ 459 /* Map the MAC keysyms */
460 for ( i=0; i<SDL_TABLESIZE(MAC_keymap); ++i ) 460 for ( i=0; i<SDL_arraysize(MAC_keymap); ++i )
461 MAC_keymap[i] = SDLK_UNKNOWN; 461 MAC_keymap[i] = SDLK_UNKNOWN;
462 462
463 /* Defined MAC_* constants */ 463 /* Defined MAC_* constants */
464 MAC_keymap[MK_ESCAPE] = SDLK_ESCAPE; 464 MAC_keymap[MK_ESCAPE] = SDLK_ESCAPE;
465 MAC_keymap[MK_F1] = SDLK_F1; 465 MAC_keymap[MK_F1] = SDLK_F1;