Fixed FILE_VIEW struct initialisation.

This commit is contained in:
Marcus Meissner 1999-01-28 17:35:36 +00:00 committed by Alexandre Julliard
parent 4d71236544
commit 12e2d838a1

View File

@ -216,6 +216,7 @@ static FILE_VIEW *VIRTUAL_CreateView( UINT32 base, UINT32 size, UINT32 offset,
view->offset = offset;
view->mapping = mapping;
view->protect = vprot;
view->handlerProc = NULL;
memset( view->prot, vprot, size );
/* Duplicate the mapping handle */