summaryrefslogtreecommitdiff
path: root/pngerror.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp@shaggy.simplesystems.org>2011-11-10 06:32:19 -0600
committerGlenn Randers-Pehrson <glennrp@shaggy.simplesystems.org>2011-11-10 06:32:19 -0600
commit84b0da9c94899290467f760976bfc7f440bf0ee5 (patch)
treee227bf267ff9bb5152bcdfdf996ee554452087af /pngerror.c
parente6fb691c4910127f3169d394ffe9c47980c0ebe0 (diff)
downloadlibpng-84b0da9c94899290467f760976bfc7f440bf0ee5.tar.gz
[libpng15] Updated commentary about new API
Diffstat (limited to 'pngerror.c')
-rw-r--r--pngerror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pngerror.c b/pngerror.c
index ab16eebf5..74f8cc845 100644
--- a/pngerror.c
+++ b/pngerror.c
@@ -1,7 +1,7 @@
/* pngerror.c - stub functions for i/o and memory allocation
*
- * Last changed in libpng 1.5.6 [November 3, 2011]
+ * Last changed in libpng 1.5.7 [(PENDING RELEASE)]
* Copyright (c) 1998-2011 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.)
@@ -716,7 +716,7 @@ png_safe_warning(png_structp png_ptr, png_const_charp warning_message)
{
png_imagep image = png_ptr->error_ptr;
- /* A warning is just logged if there is no warning or error. */
+ /* A warning is only logged if there is no prior warning or error. */
if (image->warning_or_error == 0)
{
png_safecat(image->message, sizeof image->message, 0, warning_message);