[gegl] cosmetic



commit c7634e11d34506bbc0040e2fda3069df39fbccca
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date:   Tue Dec 18 13:30:18 2012 -0500

    cosmetic

 operations/transform/transform-core.c |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/operations/transform/transform-core.c b/operations/transform/transform-core.c
index 0773e4d..9965ea0 100644
--- a/operations/transform/transform-core.c
+++ b/operations/transform/transform-core.c
@@ -1221,9 +1221,9 @@ transform_generic (GeglBuffer  *dest,
       GeglRectangle *roi = &i->roi[0];
       gfloat * restrict dest_buf = (gfloat *)i->data[0];
       gfloat * restrict dest_ptr =
-	dest_buf +
-	(gint) 4 * ( bflip_x * (roi->width  - (gint) 1) +
-		     bflip_y * (roi->height - (gint) 1) * roi->width );
+        dest_buf +
+        (gint) 4 * ( bflip_x * (roi->width  - (gint) 1) +
+                     bflip_y * (roi->height - (gint) 1) * roi->width );
 
       u_start =
         inverse.coeff [0][0] * ( roi->x + bflip_x * (roi->width  - (gint) 1) +
@@ -1274,17 +1274,15 @@ transform_generic (GeglBuffer  *dest,
                                 dest_ptr,
                                 GEGL_ABYSS_NONE);
 
-              u_float += flip_x * inverse.coeff [0][0];
-              v_float += flip_x * inverse.coeff [1][0];
-              w_float += flip_x * inverse.coeff [2][0];
-
+              u_float  += flip_x * inverse.coeff [0][0];
+              v_float  += flip_x * inverse.coeff [1][0];
+              w_float  += flip_x * inverse.coeff [2][0];
               dest_ptr += flip_x * (gint) 4;
             }
 
-          u_start += flip_y * inverse.coeff [0][1];
-          v_start += flip_y * inverse.coeff [1][1];
-          w_start += flip_y * inverse.coeff [2][1];
-
+          u_start  += flip_y * inverse.coeff [0][1];
+          v_start  += flip_y * inverse.coeff [1][1];
+          w_start  += flip_y * inverse.coeff [2][1];
           dest_ptr += (gint) 4 * (flip_y - flip_x) * roi->width;
         }
     }



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