_get_next_area_info() skipped every second area if they were adjacent.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9289 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
16bf4f998b
commit
8bf77a7332
@ -2580,7 +2580,7 @@ _get_next_area_info(team_id team, int32 *cookie, area_info *info, size_t size)
|
||||
}
|
||||
|
||||
fill_area_info(area, info, size);
|
||||
*cookie = (int32)(area->base + area->size);
|
||||
*cookie = (int32)(area->base);
|
||||
|
||||
vm_put_region(area);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user