summaryrefslogtreecommitdiff
path: root/pngwutil.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-08-19 08:42:06 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-08-19 08:42:06 -0500
commit339416b38badcd27d1098b2b50fad1f47b0e0ac9 (patch)
treed9352dcd93aa78285ad8af8934687e3771b49ccb /pngwutil.c
parent7e2f07486a4bfb1066c7435de48547163b9d8995 (diff)
downloadlibpng-339416b38badcd27d1098b2b50fad1f47b0e0ac9.tar.gz
[master] Trivial cosmetic changes in comments
Diffstat (limited to 'pngwutil.c')
-rw-r--r--pngwutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pngwutil.c b/pngwutil.c
index 25df2e2d5..cabcb3386 100644
--- a/pngwutil.c
+++ b/pngwutil.c
@@ -1,7 +1,7 @@
/* pngwutil.c - utilities to write a PNG file
*
- * Last changed in libpng 1.2.39 [August 13, 2009]
+ * Last changed in libpng 1.2.40 [August 19, 2009]
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
@@ -102,6 +102,7 @@ png_write_chunk_start(png_structp png_ptr, png_bytep chunk_name,
png_debug2(0, "Writing %s chunk, length = %lu", chunk_name,
(unsigned long)length);
+
if (png_ptr == NULL)
return;