* should have been part of r27883

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27892 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Karsten Heimrich 2008-10-06 19:51:17 +00:00
parent 700b9c36d4
commit 23f4249171

View File

@ -289,7 +289,6 @@ BList::MoveItem(int32 fromIndex, int32 toIndex)
if (fromIndex < toIndex) {
memmove(fObjectList + fromIndex, fObjectList + fromIndex + 1,
(toIndex - fromIndex) * sizeof(void *));
fObjectList[toIndex] = tmpMover;
} else if (fromIndex > toIndex) {
memmove(fObjectList + toIndex + 1, fObjectList + toIndex,
(fromIndex - toIndex) * sizeof(void *));