mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-12 05:40:24 +02:00
StripSpaces: only strip spaces
StripWhitespace maintains old behavior
This commit is contained in:
1 parent
e4ff49769c
commit
f92541fbd9
20 files changed
+44
-32
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user