thanks for nothing VS

This commit is contained in:
Mike Griese 2021-11-01 14:57:53 -05:00
parent 9f4ed0ee18
commit 684956d848

View file

@ -1162,7 +1162,7 @@ void Pane::_ControlWarningBellHandler(const winrt::Windows::Foundation::IInspect
if (sounds && sounds.Size() > 0)
{
winrt::hstring soundPath{ wil::ExpandEnvironmentStringsW<std::wstring>(sounds.GetAt(rand() % sounds.Size()).c_str()) };
winrt::Windows::Foundation::Uri uri { soundPath };
winrt::Windows::Foundation::Uri uri{ soundPath };
_playBellSound(uri);
}
else