removed useless OffsetTo()

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23183 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2007-12-28 11:48:35 +00:00
parent d73c4e9fb1
commit eb885e0680

View File

@ -1250,10 +1250,9 @@ BShelf::_CreateZombie(BMessage *data, BDragger *&dragger)
_BZombieReplicantView_ *zombie = NULL;
if (data->WasDropped()) {
BPoint dropPoint, offset;
dropPoint = data->DropPoint(&offset);
BPoint offset;
BPoint dropPoint = data->DropPoint(&offset);
frame.OffsetTo(B_ORIGIN);
frame.OffsetTo(fContainerView->ConvertFromScreen(dropPoint) - offset);
zombie = new _BZombieReplicantView_(frame, B_ERROR);