mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Don't make cells smaller than they are.
svn path=/trunk/; revision=19637
This commit is contained in:
parent
3abd7f4b55
commit
f5b5975917
1 changed files with 1 additions and 1 deletions
|
@ -840,7 +840,7 @@ CmiAllocateCell (PREGISTRY_HIVE RegistryHive,
|
|||
}
|
||||
|
||||
memset(*Block, 0, CellSize);
|
||||
((PCELL_HEADER)(*Block))->CellSize = -CellSize;
|
||||
((PCELL_HEADER)(*Block))->CellSize *= -1;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue