diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-02-13 18:17:11 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-02-13 18:17:11 +0000 |
commit | 3f3a0bb41c579c667871ac322534c59323f1d801 (patch) | |
tree | 2c9d1c900c626f6290c96252b0e3ea7344a5274c | |
parent | 074b331756e2dcd520e821db3fd7789926b9ccd9 (diff) | |
download | netpbm-mirror-3f3a0bb41c579c667871ac322534c59323f1d801.tar.gz netpbm-mirror-3f3a0bb41c579c667871ac322534c59323f1d801.tar.xz netpbm-mirror-3f3a0bb41c579c667871ac322534c59323f1d801.zip |
Release 10.97.04
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4275 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | doc/HISTORY | 8 | ||||
-rw-r--r-- | lib/libpamcolor.c | 2 | ||||
-rw-r--r-- | version.mk | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index ef803b58..18ec8982 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -4,7 +4,13 @@ Netpbm. CHANGE HISTORY -------------- -not yet BJH Release 10.97.03 +22.02.13 BJH Release 10.97.04 + + libnetpbm, various programs: fix bug: bogus warning that a color + specified on command line cannot be represented exactly with the + maxval being used. Introduced in Netpbm 10.83 (June 2018). + +22.01.27 BJH Release 10.97.03 ppmtoapplevol: Fix bug: reads from Standard Input even when you specify the input file argument. Always broken. (ppmtoapplevol diff --git a/lib/libpamcolor.c b/lib/libpamcolor.c index 718df89f..cc68fe1a 100644 --- a/lib/libpamcolor.c +++ b/lib/libpamcolor.c @@ -338,7 +338,7 @@ warnIfNotExact(const char * const colorname, float const epsilon = 1.0/65536.0; - if (fabs((float)(rounded[plane] / maxval) - exact[plane]) > epsilon) { + if (fabs(((float)rounded[plane] / maxval) - exact[plane]) > epsilon) { pm_message("WARNING: Component %u of color '%s' is %f, " "which cannot be represented precisely with maxval %lu. " "Approximating as %lu.", diff --git a/version.mk b/version.mk index fa737088..0464d5a6 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ NETPBM_MAJOR_RELEASE = 10 NETPBM_MINOR_RELEASE = 97 -NETPBM_POINT_RELEASE = 3 +NETPBM_POINT_RELEASE = 4 |