summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2010-08-20 10:15:47 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2010-08-20 10:15:47 -0500
commitb5a53da7173c8af47605af95449a8f27f336adf0 (patch)
treee3f1846438761a801196c5f9a9cc58b9502fa246
parentc08cae1c22b5012fdbbe0a0909f2e4bd3dd93394 (diff)
downloadlibpng-b5a53da7173c8af47605af95449a8f27f336adf0.tar.gz
[devel] Wrapped a long line and fixed a typo in pngvalid.c comments.
-rw-r--r--pngvalid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pngvalid.c b/pngvalid.c
index ddedc355e..51f06170e 100644
--- a/pngvalid.c
+++ b/pngvalid.c
@@ -598,7 +598,7 @@ set_store_for_read(png_store *ps, png_infopp ppi, png_uint_32 id,
png_structp result = NULL;
/* NOTE: reference to 'name' must be outside the Try block or GCC can
- * optimized it away.
+ * optimize it away.
*/
safecat(ps->test, sizeof ps->test, 0, name);
@@ -1484,9 +1484,9 @@ make_error(png_store* PNG_CONST ps, png_byte PNG_CONST colour_type,
if (ps->expect_warning && ps->saw_warning)
Throw ps;
- /* If we get here there is a problem, we have success, however the
- * Throw within the png_error will take control back to the Catch
- * below, and the loop will continue.
+ /* If we get here there is a problem, we have success, however
+ * the Throw within the png_error will take control back to the
+ * Catch below, and the loop will continue.
*/
ps->expect_error = 0;
ps->expect_warning = 0;