winhlp32: Always open files as read only.
This commit is contained in:
parent
7f78caa81c
commit
ab8cc4acdb
|
@ -180,7 +180,7 @@ BOOL WINHELP_GetOpenFileName(LPSTR lpszFile, int len)
|
|||
openfilename.nMaxFileTitle = 0;
|
||||
openfilename.lpstrInitialDir = szDir;
|
||||
openfilename.lpstrTitle = 0;
|
||||
openfilename.Flags = OFN_ENABLESIZING;
|
||||
openfilename.Flags = OFN_ENABLESIZING | OFN_HIDEREADONLY | OFN_READONLY;
|
||||
openfilename.nFileOffset = 0;
|
||||
openfilename.nFileExtension = 0;
|
||||
openfilename.lpstrDefExt = 0;
|
||||
|
|
Loading…
Reference in New Issue