ARRAYSIZE -> ARRAYLEN

This commit is contained in:
Glenn Maynard
2006-09-13 03:11:38 +00:00
parent 9fb0d09f35
commit e206261b80
21 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ void InputMapper::AutoMapJoysticksForCurrentGame()
{
InputDevice id = vDevices[i].id;
const RString &sDescription = vDevices[i].sDesc;
for( unsigned j=0; j<ARRAYSIZE(g_AutoJoyMappings); j++ )
for( unsigned j=0; j<ARRAYLEN(g_AutoJoyMappings); j++ )
{
const AutoJoyMapping& mapping = g_AutoJoyMappings[j];