diff --git "a/dll/win32/shell32/dialogs/dialogs.cpp" "b/dll/win32/shell32/dialogs/dialogs.cpp" index a01a442a500..b0e7e8fbd5b 100644 --- "a/dll/win32/shell32/dialogs/dialogs.cpp" +++ "b/dll/win32/shell32/dialogs/dialogs.cpp" @@ -694,13 +694,12 @@ static INT_PTR CALLBACK RunDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARA EndDialog(hwnd, IDOK); break; } - else if (SUCCEEDED(ShellExecuteExW(&sei))) + else if (ShellExecuteExW(&sei)) { /* Call GetWindowText again in case the contents of the edit box have changed. */ GetWindowTextW(htxt, psz, ic + 1); FillList(htxt, psz, ic + 2 + 1, FALSE); EndDialog(hwnd, IDOK); - break; } /* Fall-back */