sdl_gamepad: fix typo in function name

As pointed out by LaserEyess on IRC.
This commit is contained in:
wm4 2019-10-25 15:33:23 +02:00
parent 49cde32be0
commit 8b0ff53b69
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ struct gamepad_priv {
static Uint32 gamepad_cancel_wakeup;
static void initalize_events(void)
static void initialize_events(void)
{
gamepad_cancel_wakeup = SDL_RegisterEvents(1);
}
@ -204,7 +204,7 @@ static void read_gamepad_thread(struct mp_input_src *src, void *param)
return;
};
pthread_once(&events_initialized, initalize_events);
pthread_once(&events_initialized, initialize_events);
if (gamepad_cancel_wakeup == (Uint32)-1) {
MP_ERR(src, "Can't register SDL custom events\n");