Browse Source

Merge pull request #33482 from piratesephiroth/master

Set ShellExecuteW's verb to NULL - fixes #33388
Rémi Verschelde 5 years ago
parent
commit
5c038acdc1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/windows/os_windows.cpp

+ 1 - 1
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;
 }