diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-25 00:33:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-25 00:33:21 +0400 |
commit | a9b9fcc951b3ea7882c1a2011bc98eb20287b867 (patch) | |
tree | 969098b2a0821a185447b33f2a22985f6e92aeb8 /source/blender/editors/screen | |
parent | 1add9e5449f691aae3baa2fcf447e36091f533c6 (diff) |
style cleanup
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/area.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 8a01cf351bf..1b7cd4a6d20 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1967,11 +1967,11 @@ void ED_region_visible_rect(ARegion *ar, rcti *rect) if (BLI_rcti_isect(rect, &arn->winrct, NULL)) { /* overlap left, also check 1 pixel offset (2 regions on one side) */ - if ( ABS(rect->xmin - arn->winrct.xmin) < 2) + if (ABS(rect->xmin - arn->winrct.xmin) < 2) rect->xmin = arn->winrct.xmax; /* overlap right */ - if ( ABS(rect->xmax - arn->winrct.xmax) < 2) + if (ABS(rect->xmax - arn->winrct.xmax) < 2) rect->xmax = arn->winrct.xmin; } } |