mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:53:37 +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);
|
memset(*Block, 0, CellSize);
|
||||||
((PCELL_HEADER)(*Block))->CellSize = -CellSize;
|
((PCELL_HEADER)(*Block))->CellSize *= -1;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue