diff options
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DInput')
| -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 { |
