gimp r25615 - in trunk: . app/core



Author: neo
Date: Sat May 10 12:07:15 2008
New Revision: 25615
URL: http://svn.gnome.org/viewvc/gimp?rev=25615&view=rev

Log:
2008-05-10  Sven Neumann  <sven gimp org>

	* app/core/gimpbrush-scale.c: formatting.



Modified:
   trunk/ChangeLog
   trunk/app/core/gimpbrush-scale.c

Modified: trunk/app/core/gimpbrush-scale.c
==============================================================================
--- trunk/app/core/gimpbrush-scale.c	(original)
+++ trunk/app/core/gimpbrush-scale.c	Sat May 10 12:07:15 2008
@@ -119,20 +119,16 @@
   TempBuf     *dest_brush_buf;
 
   pixel_region_init_temp_buf (&source_region, brush_buf,
-                              0, 0,
-                              brush_buf->width,
-                              brush_buf->height);
+                              0, 0, brush_buf->width, brush_buf->height);
 
   dest_brush_buf = temp_buf_new (dest_width, dest_height, brush_buf->bytes,
                                  0, 0, NULL);
 
   pixel_region_init_temp_buf (&dest_region, dest_brush_buf,
-                              0, 0,
-                              dest_width,
-                              dest_height);
+                              0, 0, dest_width, dest_height);
 
-  scale_region (&source_region, &dest_region, GIMP_INTERPOLATION_LINEAR,
-                NULL, NULL);
+  scale_region (&source_region, &dest_region,
+                GIMP_INTERPOLATION_LINEAR, NULL, NULL);
 
   return dest_brush_buf;
 }
@@ -176,9 +172,9 @@
   dx = dx0 = 0;
   dy = dy0 = 0;
 
-  for (i=0; i<dest_height; i++)
+  for (i = 0; i < dest_height; i++)
     {
-      for (j=0; j<dest_width; j++)
+      for (j = 0; j < dest_width; j++)
         {
           value  = 0;
 
@@ -334,7 +330,7 @@
   dx = dx0 = 0;
   dy = dy0 = 0;
 
-  for (i=0; i<dest_height; i++)
+  for (i = 0; i < dest_height; i++)
     {
       for (j=0; j<dest_width; j++)
         {



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