Fix problem if last card is marked

db4
Slava Pestov 2009-10-08 23:58:20 -05:00
parent cb2673a6f5
commit 6e4b4d5830
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ void old_space::clear_allot_markers()
cell old_space::next_object_after(factor_vm *myvm, cell scan)
{
cell size = myvm->untagged_object_size((object *)scan);
if(scan + size < end)
if(scan + size < here)
return scan + size;
else
return NULL;