diff --git a/src/duckstation-sdl/sdl_key_names.h b/src/duckstation-sdl/sdl_key_names.h index de0e2ffcf..c8d744c3e 100644 --- a/src/duckstation-sdl/sdl_key_names.h +++ b/src/duckstation-sdl/sdl_key_names.h @@ -259,7 +259,7 @@ struct SDLKeyModifierEntry const char* name; }; -static const std::array s_sdl_key_modifiers = { +static const std::array s_sdl_key_modifiers = { {{KMOD_LSHIFT, static_cast(KMOD_LSHIFT | KMOD_RSHIFT), SDLK_LSHIFT, SDLK_RSHIFT, "Shift"}, {KMOD_LCTRL, static_cast(KMOD_LCTRL | KMOD_LCTRL), SDLK_LCTRL, SDLK_RCTRL, "Control"}, {KMOD_LALT, static_cast(KMOD_LALT | KMOD_RALT), SDLK_LALT, SDLK_RALT, "Alt"},