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:
reimar 2010-06-13 13:40:18 +00:00 committed by Uoti Urpala
parent be6a58d455
commit ba6c59ddc5
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ static const struct mp_keymap keysym_map[] = {
{SDLK_KP6, KEY_KP6}, {SDLK_KP7, KEY_KP7}, {SDLK_KP8, KEY_KP8}, {SDLK_KP6, KEY_KP6}, {SDLK_KP7, KEY_KP7}, {SDLK_KP8, KEY_KP8},
{SDLK_KP9, KEY_KP9}, {SDLK_KP9, KEY_KP9},
{SDLK_KP_PERIOD, KEY_KPDEC}, {SDLK_KP_ENTER, KEY_KPENTER}, {SDLK_KP_PERIOD, KEY_KPDEC}, {SDLK_KP_ENTER, KEY_KPENTER},
{0, 0}
}; };
int sdl_default_handle_event(SDL_Event *event) int sdl_default_handle_event(SDL_Event *event)