From 9b5488054bc9fc750178e9b90ffea25e71d3348b Mon Sep 17 00:00:00 2001 From: tangyaofang Date: Fri, 21 Jun 2019 14:57:51 +0800 Subject: Fix comments Signed-off-by: Cosmin Truta --- contrib/tools/png-fix-itxt.c | 2 +- pngwrite.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/tools/png-fix-itxt.c b/contrib/tools/png-fix-itxt.c index c7654c113..6dcd652dc 100644 --- a/contrib/tools/png-fix-itxt.c +++ b/contrib/tools/png-fix-itxt.c @@ -10,7 +10,7 @@ * * Usage: * - * png-fix-itxt.exe < bad.png > good.png + * png-fix-itxt < bad.png > good.png * * Fixes a PNG file written with libpng-1.6.0 or 1.6.1 that has one or more * uncompressed iTXt chunks. Assumes that the actual length is greater diff --git a/pngwrite.c b/pngwrite.c index 06c45d16a..4e58d776a 100644 --- a/pngwrite.c +++ b/pngwrite.c @@ -75,10 +75,10 @@ write_unknown_chunks(png_structrp png_ptr, png_const_inforp info_ptr, * library. If you have a new chunk to add, make a function to write it, * and put it in the correct location here. If you want the chunk written * after the image data, put it in png_write_end(). I strongly encourage - * you to supply a PNG_INFO_ flag, and check info_ptr->valid before writing - * the chunk, as that will keep the code from breaking if you want to just - * write a plain PNG file. If you have long comments, I suggest writing - * them in png_write_end(), and compressing them. + * you to supply a PNG_INFO_ flag, and check info_ptr->valid before + * writing the chunk, as that will keep the code from breaking if you want + * to just write a plain PNG file. If you have long comments, I suggest + * writing them in png_write_end(), and compressing them. */ void PNGAPI png_write_info_before_PLTE(png_structrp png_ptr, png_const_inforp info_ptr) -- cgit v1.2.1