Austin Donnelly wrote:
> 
> 
> If it is just a one-line fix, please post it here.  Longer patches
> should be uploaded to ftp.gimp.org's "incoming" directory; follow the
> instructions there.

Alright, but I'd prefer not to make a habit of it :)

Cheers,
Dave.

-- 
                Dave Neary,
        Software engineer, Informix Dublin.
                Ireland.
        Phone: +353-1-409-1357
Index: ifscompose.c
===================================================================
RCS file: /cvs/gnome/gimp/plug-ins/ifscompose/ifscompose.c,v
retrieving revision 1.36
diff -u -r1.36 ifscompose.c
--- ifscompose.c        2000/11/27 10:35:23     1.36
+++ ifscompose.c        2000/12/18 17:12:32
@@ -1354,7 +1354,10 @@
 
   num_bands = ceil((gdouble)(width*height*SQR(ifsvals.subdivide)*5)
                   / (1024 * ifsvals.max_memory));
-  band_height = height / num_bands;
+  band_height = (height / num_bands) + 1; 
+  /* For bug #9156 - adding 1 guarantees that band_height*num_bands>height
+   * band_height automatically got rounded down, resulting in a diff 
+   * of a few pixels. */ 
   if (band_height > height)
     band_height = height;
 

Reply via email to