little cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18025 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-07-04 09:44:40 +00:00
parent 064ad96310
commit 955bc004af

View File

@ -3026,7 +3026,7 @@ BView::SetViewBitmap(const BBitmap *bitmap, uint32 followFlags, uint32 options)
if (bitmap)
rect = bitmap->Bounds();
rect.OffsetTo(0, 0);
rect.OffsetTo(B_ORIGIN);
_SetViewBitmap(bitmap, rect, rect, followFlags, options);
}