[gimp] app: GimpPolar: add () around && within a ||



commit 71f38955971f42c303fe491080989cee2336b034
Author: Michael Natterer <mitch gimp org>
Date:   Fri May 30 00:34:18 2014 +0200

    app: GimpPolar: add () around && within a ||

 app/widgets/gimppolar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimppolar.c b/app/widgets/gimppolar.c
index 91b07b3..acd544f 100644
--- a/app/widgets/gimppolar.c
+++ b/app/widgets/gimppolar.c
@@ -339,7 +339,7 @@ gimp_polar_motion_notify_event (GtkWidget      *widget,
       dist_radius = ABS (polar->priv->radius - radius);
 
       if ((radius < 0.2 && polar->priv->radius < 0.2) ||
-          dist_angle  < (G_PI / 12) && dist_radius < 0.2)
+          (dist_angle  < (G_PI / 12) && dist_radius < 0.2))
         {
           target = POLAR_TARGET_CIRCLE;
         }


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