Merge pull request #33482 from piratesephiroth/master

Set ShellExecuteW's verb to NULL - fixes #33388
This commit is contained in:
Rémi Verschelde 2019-11-11 13:27:09 +01:00 committed by GitHub
commit 5c038acdc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2988,7 +2988,7 @@ void OS_Windows::move_window_to_foreground() {
Error OS_Windows::shell_open(String p_uri) {
ShellExecuteW(NULL, L"open", p_uri.c_str(), NULL, NULL, SW_SHOWNORMAL);
ShellExecuteW(NULL, NULL, p_uri.c_str(), NULL, NULL, SW_SHOWNORMAL);
return OK;
}