From 3744f94fd10237616308aa0177bb5b3f8267991d Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Fri, 10 Aug 2012 19:22:53 -0500 Subject: [PATCH] [libpng16] Removed trailing blanks --- png.c | 6 +++--- pngrutil.c | 8 ++++---- pngwutil.c | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/png.c b/png.c index 2ca7581a4..a00be9304 100644 --- a/png.c +++ b/png.c @@ -749,13 +749,13 @@ png_get_copyright(png_const_structrp png_ptr) #else # ifdef __STDC__ return PNG_STRING_NEWLINE \ - "libpng version 1.6.0beta27 - August 10, 2012" PNG_STRING_NEWLINE \ + "libpng version 1.6.0beta27 - August 11, 2012" PNG_STRING_NEWLINE \ "Copyright (c) 1998-2012 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \ "Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \ "Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \ PNG_STRING_NEWLINE; # else - return "libpng version 1.6.0beta27 - August 10, 2012\ + return "libpng version 1.6.0beta27 - August 11, 2012\ Copyright (c) 1998-2012 Glenn Randers-Pehrson\ Copyright (c) 1996-1997 Andreas Dilger\ Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."; @@ -1065,7 +1065,7 @@ png_colorspace_sync(png_const_structrp png_ptr, png_inforp info_ptr) * C and D are the 16-bit words of V2, AD is the product of * A and D, and X || Y is (X << 16) + Y. */ -static void +static void png_64bit_product (long v1, long v2, unsigned long *hi_product, unsigned long *lo_product) { diff --git a/pngrutil.c b/pngrutil.c index 6c759c026..cb476e6b4 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -574,7 +574,7 @@ png_decompress_chunk(png_structrp png_ptr, if (limit >= prefix_size + (terminate != 0)) { int ret; - + limit -= prefix_size + (terminate != 0); if (limit < *newlength) @@ -596,7 +596,7 @@ png_decompress_chunk(png_structrp png_ptr, ret = png_inflate(png_ptr, png_ptr->chunk_name, 1/*finish*/, /* input: */ png_ptr->read_buffer + prefix_size, &lzsize, /* output: */ NULL, newlength); - + if (ret == Z_STREAM_END) { /* Use 'inflateReset' here, not 'inflateReset2' because this @@ -1009,7 +1009,7 @@ png_handle_PLTE(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length) * maintainers to ignore it. */ #ifdef PNG_READ_tRNS_SUPPORTED - if (png_ptr->num_trans > 0 || + if (png_ptr->num_trans > 0 || (info_ptr != NULL && (info_ptr->valid & PNG_INFO_tRNS) != 0)) { /* Cancel this because otherwise it would be used if the transforms @@ -1587,7 +1587,7 @@ png_handle_iCCP(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length) else errmsg = "bad keyword"; } - + else errmsg = "too many profiles"; diff --git a/pngwutil.c b/pngwutil.c index 024032f46..abb63f84a 100644 --- a/pngwutil.c +++ b/pngwutil.c @@ -708,7 +708,7 @@ png_check_keyword(png_structrp png_ptr, png_const_charp key, png_bytep new_key) *new_key = 0; return 0; } - + while (*key && key_len < 79) { png_byte ch = (png_byte)(0xff & *key++); @@ -1696,7 +1696,7 @@ png_write_iTXt(png_structrp png_ptr, int compression, png_const_charp key, png_debug(1, "in png_write_iTXt"); key_len = png_check_keyword(png_ptr, key, new_key); - + if (key_len == 0) png_error(png_ptr, "iTXt: invalid keyword"); @@ -1822,7 +1822,7 @@ png_write_pCAL(png_structrp png_ptr, png_charp purpose, png_int_32 X0, if (purpose_len == 0) png_error(png_ptr, "pCAL: invalid keyword"); - + ++purpose_len; /* terminator */ png_debug1(3, "pCAL purpose length = %d", (int)purpose_len);