static, typo

This commit is contained in:
Glenn Maynard
2005-12-28 08:21:39 +00:00
parent 7c70c416d8
commit d9862d3ac8
@@ -49,7 +49,7 @@ static const int g_keys[] =
KEY_KP_PLUS, // DANCE_BUTTON_MENUDOWN
};
int GetRandomKeyboadKey()
static int GetRandomKeyboardKey()
{
int index = rand()%ARRAYSIZE(g_keys);
return g_keys[index];
@@ -78,7 +78,7 @@ void InputHandler_MonkeyKeyboard::Update()
ButtonPressed(m_diLast, false);
// Choose a new key and send it.
m_diLast = DeviceInput(DEVICE_KEYBOARD,GetRandomKeyboadKey());
m_diLast = DeviceInput(DEVICE_KEYBOARD,GetRandomKeyboardKey());
ButtonPressed(m_diLast, true);
m_timerPressButton.Touch();