mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Don't make cells smaller than they are.
svn path=/trunk/; revision=19638
This commit is contained in:
@@ -820,7 +820,7 @@ CmiAllocateCell (PREGISTRY_HIVE RegistryHive,
|
||||
}
|
||||
|
||||
memset(*Block, 0, CellSize);
|
||||
((PCELL_HEADER)(*Block))->CellSize = -CellSize;
|
||||
((PCELL_HEADER)(*Block))->CellSize *= -1;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user