about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--converter/ppm/picttoppm.c2
-rw-r--r--doc/HISTORY5
2 files changed, 6 insertions, 1 deletions
diff --git a/converter/ppm/picttoppm.c b/converter/ppm/picttoppm.c
index 21030b03..be6a3f97 100644
--- a/converter/ppm/picttoppm.c
+++ b/converter/ppm/picttoppm.c
@@ -1273,7 +1273,7 @@ doDiffSize(struct Rect       const clipsrc,
     }
     break;
     case 32: {
-        unsigned int const planeSize = rectwidth(&srcRect);
+        unsigned int const planeSize = rectwidth(&clipsrc);
         unsigned int rowNumber;
 
         for (rowNumber = 0; rowNumber < ysize; ++rowNumber) {
diff --git a/doc/HISTORY b/doc/HISTORY
index 10729e56..750d76ed 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -4,6 +4,11 @@ Netpbm.
 CHANGE HISTORY 
 --------------
 
+22.01.24 BJH  Release 10.86.29
+
+              picttoppm:  Fix inability to compile introduced in Netpbm
+              10.86.28 (2 days ago).
+
 22.01.22 BJH  Release 10.86.28
  
               picttoppm: Fix incorrect output for 32 bit per pixel images