[gimp] app: Don't do integer division before saving to gdouble, remove stray ;



commit 45a9519cec74522ff9e3447fd3da86824b74a816
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Sat Aug 16 02:38:55 2014 +0200

    app: Don't do integer division before saving to gdouble, remove stray ;

 app/tools/gimpforegroundselecttool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpforegroundselecttool.c b/app/tools/gimpforegroundselecttool.c
index 372a715..b668afe 100644
--- a/app/tools/gimpforegroundselecttool.c
+++ b/app/tools/gimpforegroundselecttool.c
@@ -831,7 +831,7 @@ gimp_foreground_select_tool_draw (GimpDrawTool *draw_tool)
     {
       gint    x      = fg_select->last_coords.x;
       gint    y      = fg_select->last_coords.y;
-      gdouble radius = options->stroke_width / 2;;
+      gdouble radius = options->stroke_width / 2.0f;
 
       if (fg_select->stroke)
         {


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