Fix location links with Bing Maps uninstalled.

Fixes #26506.
This commit is contained in:
John Preston 2023-08-11 11:41:58 +02:00
parent 8cc3eb4bfe
commit 58c91be156
1 changed files with 4 additions and 1 deletions

View File

@ -683,7 +683,10 @@ bool psLaunchMaps(const Data::LocationPoint &point) {
AT_URLPROTOCOL,
AL_EFFECTIVE,
handler.put());
if (FAILED(result) || !handler) {
if (FAILED(result)
|| !handler
|| !handler.data()
|| std::wstring(handler.data()) == L"bingmaps") {
return false;
}