* Fixed wrong indentation of the if-clause introduced in r40144.
* Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40147 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
40e0165b13
commit
9f609ed7c6
|
@ -200,7 +200,7 @@ BackgroundImage::Show(BackgroundImageInfo *info, BView *view)
|
||||||
case kScaledToFit:
|
case kScaledToFit:
|
||||||
if (fIsDesktop) {
|
if (fIsDesktop) {
|
||||||
if (BRectRatio(destinationBitmapBounds)
|
if (BRectRatio(destinationBitmapBounds)
|
||||||
>= BRectRatio(viewBounds)) {
|
>= BRectRatio(viewBounds)) {
|
||||||
float overlap = BRectHorizontalOverlap(viewBounds,
|
float overlap = BRectHorizontalOverlap(viewBounds,
|
||||||
destinationBitmapBounds);
|
destinationBitmapBounds);
|
||||||
destinationBitmapBounds.Set(-overlap, 0,
|
destinationBitmapBounds.Set(-overlap, 0,
|
||||||
|
|
Loading…
Reference in New Issue