winhlp32: Always open files as read only.

This commit is contained in:
Rico Schüller 2013-04-07 14:39:18 +02:00 committed by Alexandre Julliard
parent 7f78caa81c
commit ab8cc4acdb
1 changed files with 1 additions and 1 deletions

View File

@ -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;