[devel] Removed an extra debug statement from pngwutil.c

This commit is contained in:
Glenn Randers-Pehrson 2009-08-20 22:52:51 -05:00
parent c81bb8a463
commit 626afd6219
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.4.0beta75 - August 13, 2009 Libpng 1.4.0beta75 - August 21, 2009
This is not intended to be a public release. It will be replaced This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version. within a few weeks by a public version or by another test version.
@ -530,7 +530,7 @@ version 1.4.0beta73 [August 1, 2009]
version 1.4.0beta74 [August 8, 2009] version 1.4.0beta74 [August 8, 2009]
Changed png_ptr and info_ptr member "trans" to "trans_alpha". Changed png_ptr and info_ptr member "trans" to "trans_alpha".
version 1.4.0beta75 [August 13, 2009] version 1.4.0beta75 [August 21, 2009]
Removed an extra png_debug() recently added to png_write_find_filter(). Removed an extra png_debug() recently added to png_write_find_filter().
version 1.4.0betaN [future] version 1.4.0betaN [future]

View File

@ -2207,7 +2207,7 @@ version 1.4.0beta73 [August 1, 2009]
version 1.4.0beta74 [August 8, 2009] version 1.4.0beta74 [August 8, 2009]
Changed png_ptr and info_ptr member "trans" to "trans_alpha". Changed png_ptr and info_ptr member "trans" to "trans_alpha".
version 1.4.0beta75 [August 13, 2009] version 1.4.0beta75 [August 21, 2009]
Removed an extra png_debug() recently added to png_write_find_filter(). Removed an extra png_debug() recently added to png_write_find_filter().
version 1.4.0betaN [future] version 1.4.0betaN [future]

View File

@ -1,7 +1,7 @@
/* pngwutil.c - utilities to write a PNG file /* pngwutil.c - utilities to write a PNG file
* *
* Last changed in libpng 1.4.0 [August 15, 2009] * Last changed in libpng 1.4.0 [August 21, 2009]
* Copyright (c) 1998-2009 Glenn Randers-Pehrson * Copyright (c) 1998-2009 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
@ -740,7 +740,7 @@ png_write_gAMA(png_structp png_ptr, double file_gamma)
png_debug(1, "in png_write_gAMA"); png_debug(1, "in png_write_gAMA");
/* File_gamma is saved in 1/100,000ths */ /* file_gamma is saved in 1/100,000ths */
igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5); igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5);
png_save_uint_32(buf, igamma); png_save_uint_32(buf, igamma);
png_write_chunk(png_ptr, (png_bytep)png_gAMA, buf, (png_size_t)4); png_write_chunk(png_ptr, (png_bytep)png_gAMA, buf, (png_size_t)4);
@ -757,7 +757,7 @@ png_write_gAMA_fixed(png_structp png_ptr, png_fixed_point file_gamma)
png_debug(1, "in png_write_gAMA"); png_debug(1, "in png_write_gAMA");
/* File_gamma is saved in 1/100,000ths */ /* file_gamma is saved in 1/100,000ths */
png_save_uint_32(buf, (png_uint_32)file_gamma); png_save_uint_32(buf, (png_uint_32)file_gamma);
png_write_chunk(png_ptr, (png_bytep)png_gAMA, buf, (png_size_t)4); png_write_chunk(png_ptr, (png_bytep)png_gAMA, buf, (png_size_t)4);
} }