This commit is contained in:
Glenn Maynard
2006-09-18 23:27:09 +00:00
parent 0e6a779446
commit 03ce23e9ea
11 changed files with 25 additions and 25 deletions
@@ -50,7 +50,7 @@ static const DeviceButton g_keys[] =
static DeviceButton GetRandomKeyboardKey()
{
int index = RandomInt( ARRAYSIZE(g_keys) );
int index = RandomInt( ARRAYLEN(g_keys) );
return g_keys[index];
}