Commit 0d7dbaf6 authored by Lee Shallis's avatar Lee Shallis
Browse files

Fix an oversight, caused a crash to occur though so there must be

something I overlooked when I tried to simplify the block allocation
system
parent 8d09b0b8
......@@ -188,8 +188,8 @@ int ObtainSpare( SERIES *Series, int size, int add )
if ( !ExpandSeries( Series, size, i + add ) )
return -1;
IncBit( &(Series->InUse.Used), active );
Series->Block.used++;
SetBit( &(Series->InUse.Used), active, i );
Series->Block.used = i;
return i;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment