comparison src/video/macdsp/SDL_dspvideo.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
353 } 353 }
354 354
355 if ( DSpContext_GetAttributes (context, &attributes) != noErr ) 355 if ( DSpContext_GetAttributes (context, &attributes) != noErr )
356 return NULL; 356 return NULL;
357 357
358 for ( i = 0; i < SDL_TABLESIZE(temp_list); i++ ) { 358 for ( i = 0; i < SDL_arraysize(temp_list); i++ ) {
359 width = attributes.displayWidth; 359 width = attributes.displayWidth;
360 height = attributes.displayHeight; 360 height = attributes.displayHeight;
361 361
362 temp_list [i].x = 0 | attributes.displayBestDepth; 362 temp_list [i].x = 0 | attributes.displayBestDepth;
363 temp_list [i].y = 0; 363 temp_list [i].y = 0;