[gimp/blend-tool-fun] app: s/abs/fabs/ in GimpOperationBlend



commit 13629daa48842f2f6a3a91186f4b320fd48d5e1b
Author: Michael Natterer <mitch gimp org>
Date:   Mon Jun 23 22:20:11 2014 +0200

    app: s/abs/fabs/ in GimpOperationBlend

 app/operations/gimpoperationblend.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/operations/gimpoperationblend.c b/app/operations/gimpoperationblend.c
index e4c54a6..f0e34d2 100644
--- a/app/operations/gimpoperationblend.c
+++ b/app/operations/gimpoperationblend.c
@@ -577,7 +577,7 @@ gradient_calc_square_factor (gdouble dist,
 
       offset = offset / 100.0;
 
-      r   = MAX (abs (x), abs (y));
+      r   = MAX (fabs (x), fabs (y));
       rat = r / dist;
 
       if (rat < offset)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]