Don't make cells smaller than they are.

svn path=/trunk/; revision=19637
This commit is contained in:
Filip Navara 2005-11-26 15:22:33 +00:00
parent 3abd7f4b55
commit f5b5975917

View file

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