We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633e5c0 commit f6a1cc5Copy full SHA for f6a1cc5
src/input/api/SDL/SDLControllerProvider.cpp
@@ -32,7 +32,7 @@ SDLControllerProvider::SDLControllerProvider()
32
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_LUNA, "1");
33
34
if (SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_GAMECONTROLLER | SDL_INIT_HAPTIC | SDL_INIT_EVENTS) < 0)
35
- throw std::runtime_error(fmt::format("couldn't initialize SDL: %s", SDL_GetError()));
+ throw std::runtime_error(fmt::format("couldn't initialize SDL: {}", SDL_GetError()));
36
37
38
if (SDL_GameControllerEventState(SDL_ENABLE) < 0) {
0 commit comments