Commit e3b9bd97 authored by Maxime Bellengé's avatar Maxime Bellengé Committed by Alexandre Julliard

Fix a regression when loading a real windows registry.

parent 6f6eb82d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment