Fix a compilation warning.

This commit is contained in:
Mark de Wever 2011-06-23 05:54:39 +00:00
parent 8bb9766e4c
commit c0b84d69f5

View file

@ -702,7 +702,7 @@ hotkey_item& get_hotkey(int character, int keycode, bool shift, bool ctrl,
return *itor;
}
hotkey_item& get_hotkey(const SDL_JoyButtonEvent& event)
static hotkey_item& get_hotkey(const SDL_JoyButtonEvent& event)
{
return get_hotkey(event.button, event.which);
}