From 70adf6d5d38ec0f1013bf8df2fc8b4ed73572639 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Mon, 16 Mar 2015 18:40:48 -0400 Subject: [PATCH] BRect: Style fixes, take out extra space. For some reason there was an extra space here, has been since first import. --- src/kits/interface/Rect.cpp | 48 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/kits/interface/Rect.cpp b/src/kits/interface/Rect.cpp index 0f30b93424..06d4e38a49 100644 --- a/src/kits/interface/Rect.cpp +++ b/src/kits/interface/Rect.cpp @@ -50,20 +50,20 @@ BRect::SetRightTop(const BPoint point) void BRect::InsetBy(BPoint point) { - left += point.x; - right -= point.x; - top += point.y; - bottom -= point.y; + left += point.x; + right -= point.x; + top += point.y; + bottom -= point.y; } void BRect::InsetBy(float dx, float dy) { - left += dx; - right -= dx; - top += dy; - bottom -= dy; + left += dx; + right -= dx; + top += dy; + bottom -= dy; } @@ -104,20 +104,20 @@ BRect::InsetByCopy(float dx, float dy) const void BRect::OffsetBy(BPoint point) { - left += point.x; - right += point.x; - top += point.y; - bottom += point.y; + left += point.x; + right += point.x; + top += point.y; + bottom += point.y; } void BRect::OffsetBy(float dx, float dy) { - left += dx; - right += dx; - top += dy; - bottom += dy; + left += dx; + right += dx; + top += dy; + bottom += dy; } @@ -158,20 +158,20 @@ BRect::OffsetByCopy(float dx, float dy) const void BRect::OffsetTo(BPoint point) { - right = (right - left) + point.x; - left = point.x; - bottom = (bottom - top) + point.y; - top = point.y; + right = (right - left) + point.x; + left = point.x; + bottom = (bottom - top) + point.y; + top = point.y; } void BRect::OffsetTo(float x, float y) { - right = (right - left) + x; - left = x; - bottom = (bottom - top) + y; - top=y; + right = (right - left) + x; + left = x; + bottom = (bottom - top) + y; + top=y; }