summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-11 13:27:09 +0100
committerGitHub <noreply@github.com>2019-11-11 13:27:09 +0100
commit5c038acdc159708113fdc911c44abf1d6dcdbdf7 (patch)
treed85f9f38d68842a8188821017e5cd1a1bf2ae187 /platform
parentcc4da790b7150ec22d0815505334eeec9f012fa9 (diff)
parent778b421973f97841e969d7305d95b1312c454d12 (diff)
Merge pull request #33482 from piratesephiroth/master
Set ShellExecuteW's verb to NULL - fixes #33388
Diffstat (limited to 'platform')
-rwxr-xr-xplatform/windows/os_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index e73cfcf241..429657f332 100755
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -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;
}