summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/SDL
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-07-26 04:23:24 +0200
committerGitHub <noreply@github.com>2022-07-26 04:23:24 +0200
commit8723b1a42e84aab1ef62df26935a4715e59a39c4 (patch)
tree51f4add6038f41c213f392559501a6121ee28ec3 /Source/Core/InputCommon/ControllerInterface/SDL
parente4ff49769c687e892219dab628ad5c7850efa49d (diff)
parentf92541fbd9da5091636aac09fdabd1a5fd0191ce (diff)
Merge pull request #10893 from shuffle2/spaces
StripSpaces: only strip spaces
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/SDL')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp2
1 files changed, 1 insertions, 1 deletions
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