summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-13 13:40:18 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:07:42 +0200
commitba6c59ddc53497565d34205b5fa85999c3a2dc4e (patch)
treea2e1fe8324d4c520fd1801e43032f3ca82656c8d /libvo
parentbe6a58d4558ffbc75fb8e058ed904cede060e11b (diff)
downloadmpv-ba6c59ddc53497565d34205b5fa85999c3a2dc4e.tar.bz2
mpv-ba6c59ddc53497565d34205b5fa85999c3a2dc4e.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/sdl_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/sdl_common.c b/libvo/sdl_common.c
index 89ed0198e4..42156d0cd3 100644
--- a/libvo/sdl_common.c
+++ b/libvo/sdl_common.c
@@ -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)