Author: navaraf
Date: Thu Feb 7 11:22:24 2008
New Revision: 32181
URL:
http://svn.reactos.org/svn/reactos?rev=32181&view=rev
Log:
Fix one more bug in adding subkeys.
Modified:
trunk/reactos/tools/mkhive/cmi.c
Modified: trunk/reactos/tools/mkhive/cmi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/mkhive/cmi.c?rev=321…
==============================================================================
--- trunk/reactos/tools/mkhive/cmi.c (original)
+++ trunk/reactos/tools/mkhive/cmi.c Thu Feb 7 11:22:24 2008
@@ -176,7 +176,7 @@
{
RtlMoveMemory(HashCell->List + i + 1,
HashCell->List + i,
- (HashCell->Count - 1 - i) *
+ (HashCell->Count - i) *
sizeof(HashCell->List[0]));
}