mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
StripSpaces: only strip spaces
StripWhitespace maintains old behavior
This commit is contained in:
parent
e4ff49769c
commit
f92541fbd9
20 changed files with 44 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue