diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-07-26 04:23:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-26 04:23:24 +0200 |
| commit | 8723b1a42e84aab1ef62df26935a4715e59a39c4 (patch) | |
| tree | 51f4add6038f41c213f392559501a6121ee28ec3 /Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp | |
| parent | e4ff49769c687e892219dab628ad5c7850efa49d (diff) | |
| parent | f92541fbd9da5091636aac09fdabd1a5fd0191ce (diff) | |
Merge pull request #10893 from shuffle2/spaces
StripSpaces: only strip spaces
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp b/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp index 1ab12af20a..aa1826ae45 100644 --- a/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp +++ b/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp @@ -41,7 +41,7 @@ std::string GetDeviceName(const LPDIRECTINPUTDEVICE8 device) HRESULT hr = device->GetProperty(DIPROP_PRODUCTNAME, &str.diph); if (SUCCEEDED(hr)) { - result = StripSpaces(WStringToUTF8(str.wsz)); + result = StripWhitespace(WStringToUTF8(str.wsz)); } else { |
