diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-04 02:23:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-04 02:24:38 +0400 |
commit | f3d13bec6dbacbf2ddfba034776175cf78d628b0 (patch) | |
tree | 24023d6d26a126b353bf62da8acae091c1efdb9b /source/blender/editors | |
parent | 239f0dbcd20a40642fc826ea6a90d2991f00febc (diff) |
Code Cleanup: correct fabsf/fabs/abs use
Diffstat (limited to 'source/blender/editors')
-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 8b89c2f0553..2caf318379b 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -160,8 +160,8 @@ static void area_draw_azone(short x1, short y1, short x2, short y2) int dx = x2 - x1; int dy = y2 - y1; - dx = copysign(ceilf(0.3f * fabsf(dx)), dx); - dy = copysign(ceilf(0.3f * fabsf(dy)), dy); + dx = copysign(ceilf(0.3f * abs(dx)), dx); + dy = copysign(ceilf(0.3f * abs(dy)), dy); glEnable(GL_BLEND); glEnable(GL_LINE_SMOOTH); |