From f92541fbd9da5091636aac09fdabd1a5fd0191ce Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 19 Jul 2022 15:13:26 -0700 Subject: StripSpaces: only strip spaces StripWhitespace maintains old behavior --- Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/ControllerInterface/SDL') diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp index 0d7494142d..0ea15251ad 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp @@ -272,7 +272,7 @@ void PopulateDevices() } Joystick::Joystick(SDL_Joystick* const joystick, const int sdl_index) - : m_joystick(joystick), m_name(StripSpaces(GetJoystickName(sdl_index))) + : m_joystick(joystick), m_name(StripWhitespace(GetJoystickName(sdl_index))) { // really bad HACKS: // to not use SDL for an XInput device -- cgit v1.2.3