Don't make cells smaller than they are.

svn path=/trunk/; revision=19636
This commit is contained in:
Filip Navara 2005-11-26 15:21:44 +00:00
parent 07183d05b9
commit 3abd7f4b55

View file

@ -3431,7 +3431,7 @@ CmiAllocateCell (PREGISTRY_HIVE RegistryHive,
RtlZeroMemory(*Cell, RtlZeroMemory(*Cell,
CellSize); CellSize);
((PCELL_HEADER) (*Cell))->CellSize = -CellSize; ((PCELL_HEADER) (*Cell))->CellSize *= -1;
} }
return STATUS_SUCCESS; return STATUS_SUCCESS;