thanks for nothing VS
This commit is contained in:
parent
9f4ed0ee18
commit
684956d848
|
@ -1162,7 +1162,7 @@ void Pane::_ControlWarningBellHandler(const winrt::Windows::Foundation::IInspect
|
||||||
if (sounds && sounds.Size() > 0)
|
if (sounds && sounds.Size() > 0)
|
||||||
{
|
{
|
||||||
winrt::hstring soundPath{ wil::ExpandEnvironmentStringsW<std::wstring>(sounds.GetAt(rand() % sounds.Size()).c_str()) };
|
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);
|
_playBellSound(uri);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue