diff options
-rw-r--r-- | doc/HISTORY | 5 | ||||
-rw-r--r-- | lib/libppmcolor.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index 99d277d3..4a097f63 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -6,6 +6,9 @@ CHANGE HISTORY not yet BJH Release 10.37.0 + libnetpbm: fix bogus results from ppm_parsecolor() of + rgb:0/0/0 style color name. + ppmtogif: fix garbage output with -interlace. Build: fix Darwin build. @@ -93,7 +96,7 @@ not yet BJH Release 10.37.0 pm_accept_to_pamtuples: fix bug: fill in pam structure. Thanks "Christian Schlotter" <schlotter@users.sourceforge.net>. - Fix selection of MMX_SEE fastpath based on GNU compiler version + Fix selection of MMX_SSE fastpath based on GNU compiler version number. Properly clean thinkjettopbm.c with 'make distclean'. diff --git a/lib/libppmcolor.c b/lib/libppmcolor.c index a200ab2b..87f14a5e 100644 --- a/lib/libppmcolor.c +++ b/lib/libppmcolor.c @@ -145,7 +145,8 @@ parseHexDigits(const char * const string, unsigned int digitCount; pixval n; - digitCount = 0; + digitCount = 0; /* initial value */ + n = 0; /* initial value */ while (string[digitCount] != delim) { char const digit = string[digitCount]; if (digit == '\0') |