Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 95931d60fe986cb88dac43d05c397ef3 > files > 21

gimp-2.2.13-2.0.10.el5.src.rpm

diff -up gimp-2.2.13/plug-ins/common/psp.c.psp-endianness gimp-2.2.13/plug-ins/common/psp.c
--- gimp-2.2.13/plug-ins/common/psp.c.psp-endianness	2007-09-10 16:09:15.000000000 +0200
+++ gimp-2.2.13/plug-ins/common/psp.c	2007-09-10 16:10:03.000000000 +0200
@@ -1353,10 +1353,10 @@ read_tube_block (FILE     *f,
   placement_mode = GUINT32_FROM_LE (placement_mode);
   selection_mode = GUINT32_FROM_LE (selection_mode);
 
-  for (i = 1; i < column_count; i++)
-    gimp_image_add_vguide (image_ID, (ia->width * i)/column_count);
-  for (i = 1; i < row_count; i++)
-    gimp_image_add_hguide (image_ID, (ia->height * i)/row_count);
+  for (i = 1; i < params.cols; i++)
+    gimp_image_add_vguide (image_ID, (ia->width * i)/params.cols);
+  for (i = 1; i < params.rows; i++)
+    gimp_image_add_hguide (image_ID, (ia->height * i)/params.rows);
 
   /* We use a parasite to pass in the tube (pipe) parameters in
    * case we will have any use of those, for instance in the gpb