[gimp/metadata-browser] app: formatting fixes in GimpSmudge



commit af33afcb053d7543ea0c495aa2603546b04063c3
Author: Michael Natterer <mitch gimp org>
Date:   Sun Jan 29 16:59:22 2012 +0100

    app: formatting fixes in GimpSmudge

 app/paint/gimpsmudge.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/app/paint/gimpsmudge.c b/app/paint/gimpsmudge.c
index 9e959ac..fd58888 100644
--- a/app/paint/gimpsmudge.c
+++ b/app/paint/gimpsmudge.c
@@ -183,7 +183,9 @@ gimp_smudge_start (GimpPaintCore    *paint_core,
 
   gimp_smudge_accumulator_size(paint_options, &smudge->accum_size);
 
-  /*  adjust the x and y coordinates to the upper left corner of the accumulator  */
+  /*  adjust the x and y coordinates to the upper left corner of the
+   *  accumulator
+   */
   gimp_smudge_accumulator_coords (paint_core, coords, &x, &y);
 
   /*  Allocate the accumulation buffer */
@@ -363,7 +365,7 @@ gimp_smudge_accumulator_coords (GimpPaintCore    *paint_core,
                                 gint             *x,
                                 gint             *y)
 {
-  GimpSmudge         *smudge   = GIMP_SMUDGE (paint_core);
+  GimpSmudge *smudge = GIMP_SMUDGE (paint_core);
 
   *x = (gint) coords->x - smudge->accum_size / 2;
   *y = (gint) coords->y - smudge->accum_size / 2;
@@ -376,4 +378,4 @@ gimp_smudge_accumulator_size (GimpPaintOptions *paint_options,
 
   /* Note: the max brush mask size plus a border of 1 pixel */
   *accumulator_size = ceil (sqrt (2 * SQR(paint_options->brush_size)) + 2);
-}
\ No newline at end of file
+}



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