https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5b7be1572b74801eb0de9…
commit 5b7be1572b74801eb0de9c32e782bb7c26212b55
Author: Jared Smudde <computerwhiz02(a)hotmail.com>
AuthorDate: Sun May 3 22:53:35 2020 -0500
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon May 4 12:53:35 2020 +0900
[SHELL32] Set the Run dialog to use the newer style browse for file dialog. (#2728)
Apply the OFN_EXPLORER flag to the Run dialog so the dialog uses the newer style
browse dialog.
---
dll/win32/shell32/dialogs/dialogs.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/shell32/dialogs/dialogs.cpp
b/dll/win32/shell32/dialogs/dialogs.cpp
index 5903fe4b31d..3d584480cf7 100644
--- a/dll/win32/shell32/dialogs/dialogs.cpp
+++ b/dll/win32/shell32/dialogs/dialogs.cpp
@@ -684,7 +684,7 @@ static INT_PTR CALLBACK RunDlgProc(HWND hwnd, UINT message, WPARAM
wParam, LPARA
ofn.lpstrFile = szFName;
ofn.nMaxFile = _countof(szFName) - 1;
ofn.lpstrTitle = szCaption;
- ofn.Flags = OFN_ENABLESIZING | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY |
OFN_PATHMUSTEXIST;
+ ofn.Flags = OFN_ENABLESIZING | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY |
OFN_PATHMUSTEXIST | OFN_EXPLORER;
ofn.lpstrInitialDir = prfdp->lpstrDirectory;
if (NULL == (hComdlg = LoadLibraryExW(L"comdlg32", NULL,
0)) ||