[CPL]
[reactos.git] / reactos / dll / cpl / mmsys / sounds.c
index 3fffd72..08f60cf 100644 (file)
@@ -957,7 +957,7 @@ SoundsDlgProc(HWND hwndDlg,
                     ofn.lpstrFileTitle = L"Search for new sounds"; //FIXME non-nls
                     ofn.nMaxFileTitle = wcslen(ofn.lpstrFileTitle);
                     ofn.lpstrInitialDir = NULL;
-                    ofn.Flags = OFN_FILEMUSTEXIST;
+                    ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
 
                     if (GetOpenFileNameW(&ofn) == TRUE)
                     {