mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00
StripSpaces: only strip spaces
StripWhitespace maintains old behavior
This commit is contained in:
@ -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