https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8b6e5e87c3a94192f09156...
commit 8b6e5e87c3a94192f09156cf7d82936e41f7e31c Author: Jared Smudde computerwhiz02@hotmail.com AuthorDate: Sun Feb 14 14:40:30 2021 -0600 Commit: GitHub noreply@github.com CommitDate: Sun Feb 14 21:40:30 2021 +0100
[MMSYS] Add the OFN_EXPLORER flag to the Browse for sound dialog. (#3460) --- dll/cpl/mmsys/sounds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/cpl/mmsys/sounds.c b/dll/cpl/mmsys/sounds.c index 8b6b7d296a9..89df8727728 100644 --- a/dll/cpl/mmsys/sounds.c +++ b/dll/cpl/mmsys/sounds.c @@ -1151,7 +1151,7 @@ SoundsDlgProc(HWND hwndDlg, LoadStringW(hApplet, IDS_BROWSE_FOR_SOUND, szTitle, _countof(szTitle)); ofn.lpstrTitle = szTitle; ofn.lpstrInitialDir = L"%SystemRoot%\Media"; - ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY; + ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
if (GetOpenFileNameW(&ofn) != FALSE) {