Fix a regression when loading a real windows registry.

This commit is contained in:
Maxime Bellengé 2003-03-30 03:05:12 +00:00 committed by Alexandre Julliard
parent 6f6eb82dfc
commit e3b9bd9747
1 changed files with 1 additions and 1 deletions

View File

@ -1370,7 +1370,7 @@ static LPSTR _convert_winnt_registry_to_wine_format(LPCWSTR fn, int level)
base = NULL; len = 0;
nts = NtMapViewOfSection( hMapping, GetCurrentProcess(),
&base, 0, 0, &lg_int, &len, ViewShare, 0,
FILE_MAP_READ );
PAGE_READONLY);
NtClose( hMapping );
if (nts != STATUS_SUCCESS) goto error1;