StripSpaces: only strip spaces
StripWhitespace maintains old behavior
This commit is contained in:
1 parent
e4ff49769c
commit
f92541fbd9
20 files changed
+44
-32
No files matched your search
@@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user