about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/HISTORY8
-rw-r--r--editor/pnmcrop.c3
-rw-r--r--version.mk2
3 files changed, 10 insertions, 3 deletions
diff --git a/doc/HISTORY b/doc/HISTORY
index 929008f8..6948e393 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -3,11 +3,17 @@ Netpbm.
 
 CHANGE HISTORY 
 --------------
+
+19.04.10 BJH  Release 10.86.02
+
+              pnmcrop: fix bug: -bgcolor never works.  Always present
+              (-bgcolor was introduced in Netpbm 10.86 (March 2019)).
+
 19.04.06 BJH  Release 10.86.01
 
               pnmcrop: fix bug: incorrect identification of background with
               -bgcolor and PBM or PGM image.  Always present (-bgcolor was
-              introduced in Netpbm 10.86 (March 2019).
+              introduced in Netpbm 10.86 (March 2019)).
 
 19.03.30 BJH  Release 10.86.00
 
diff --git a/editor/pnmcrop.c b/editor/pnmcrop.c
index 3f414e1b..dba40c95 100644
--- a/editor/pnmcrop.c
+++ b/editor/pnmcrop.c
@@ -465,7 +465,8 @@ backgroundColor(FILE *         const ifP,
         background = pnm_blackxel(maxval, format);
         break;
     case BG_COLOR:
-        backgroundColorFmName(colorName, maxval, format);
+        background =
+            backgroundColorFmName(colorName, maxval, format);
         break;
     case BG_SIDES:
         background =
diff --git a/version.mk b/version.mk
index 8a482446..d14438e3 100644
--- a/version.mk
+++ b/version.mk
@@ -1,3 +1,3 @@
 NETPBM_MAJOR_RELEASE = 10
 NETPBM_MINOR_RELEASE = 86
-NETPBM_POINT_RELEASE = 1
+NETPBM_POINT_RELEASE = 2