Don't make cells smaller than they are.

svn path=/trunk/; revision=19638
This commit is contained in:
Filip Navara 2005-11-26 15:23:25 +00:00
parent f5b5975917
commit 623d562f09

View file

@ -820,7 +820,7 @@ CmiAllocateCell (PREGISTRY_HIVE RegistryHive,
} }
memset(*Block, 0, CellSize); memset(*Block, 0, CellSize);
((PCELL_HEADER)(*Block))->CellSize = -CellSize; ((PCELL_HEADER)(*Block))->CellSize *= -1;
return TRUE; return TRUE;
} }