Fix a compilation warning.
This commit is contained in:
parent
8bb9766e4c
commit
c0b84d69f5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue