mirror of https://github.com/mpv-player/mpv
SDL input: add missing 0-termination of keymap file
Fixes bug #1711. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31384 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
be6a58d455
commit
ba6c59ddc5
|
@ -112,6 +112,7 @@ static const struct mp_keymap keysym_map[] = {
|
|||
{SDLK_KP6, KEY_KP6}, {SDLK_KP7, KEY_KP7}, {SDLK_KP8, KEY_KP8},
|
||||
{SDLK_KP9, KEY_KP9},
|
||||
{SDLK_KP_PERIOD, KEY_KPDEC}, {SDLK_KP_ENTER, KEY_KPENTER},
|
||||
{0, 0}
|
||||
};
|
||||
|
||||
int sdl_default_handle_event(SDL_Event *event)
|
||||
|
|
Loading…
Reference in New Issue