From f92541fbd9da5091636aac09fdabd1a5fd0191ce Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 19 Jul 2022 15:13:26 -0700 Subject: StripSpaces: only strip spaces StripWhitespace maintains old behavior --- Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp b/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp index b934e86e71..f755a175a5 100644 --- a/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp +++ b/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp @@ -784,7 +784,7 @@ void PopulateDevices() if (SUCCEEDED(hr = rgc2->get_DisplayName(&hstr)) && hstr) { device_name = - StripSpaces(WStringToUTF8(g_WindowsGetStringRawBuffer_address(hstr, nullptr))); + StripWhitespace(WStringToUTF8(g_WindowsGetStringRawBuffer_address(hstr, nullptr))); } } -- cgit v1.2.3