little cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18025 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
064ad96310
commit
955bc004af
@ -3026,7 +3026,7 @@ BView::SetViewBitmap(const BBitmap *bitmap, uint32 followFlags, uint32 options)
|
|||||||
if (bitmap)
|
if (bitmap)
|
||||||
rect = bitmap->Bounds();
|
rect = bitmap->Bounds();
|
||||||
|
|
||||||
rect.OffsetTo(0, 0);
|
rect.OffsetTo(B_ORIGIN);
|
||||||
|
|
||||||
_SetViewBitmap(bitmap, rect, rect, followFlags, options);
|
_SetViewBitmap(bitmap, rect, rect, followFlags, options);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user