summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-01-16 16:38:11 -0800
committerPokechu22 <Pokechu022@gmail.com>2022-01-16 17:00:12 -0800
commit6e5f4125e32f545a61e611720fd30c051b691d62 (patch)
tree0bee9be23807fa77f4a65526f55180f889b93d46 /Source/Core/InputCommon/ControllerInterface
parentaaec64501abae397235865f0d8ddafb036e10811 (diff)
Use Common::ToLower and Common::ToUpper
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
-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 fd42b83b88..15da51562d 100644
--- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
@@ -175,7 +175,7 @@ Joystick::Joystick(SDL_Joystick* const joystick, const int sdl_index)
// checking the name is probably good (and hacky) enough
// but I'll double check with the num of buttons/axes
std::string lcasename = GetName();
- std::transform(lcasename.begin(), lcasename.end(), lcasename.begin(), tolower);
+ Common::ToLower(&lcasename);
if ((std::string::npos != lcasename.find("xbox 360")) &&
(10 == SDL_JoystickNumButtons(joystick)) && (5 == SDL_JoystickNumAxes(joystick)) &&