summaryrefslogtreecommitdiff
path: root/pngerror.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-02-17 15:41:36 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-02-17 15:41:36 -0600
commitb4ef7c4af2d5e1975be59794b9fc5281d72acb70 (patch)
tree389e0258a8b3488b193bc902b26f42cf8e701f24 /pngerror.c
parent9e8fd50d7600f91fc4d3b4c876a3759bc54c2bd9 (diff)
downloadlibpng-b4ef7c4af2d5e1975be59794b9fc5281d72acb70.tar.gz
[libpng16] Use parentheses consistently in "#if defined()" tests.
Folded some long lines.
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 3ee57d051..c039e3137 100644
--- a/pngerror.c
+++ b/pngerror.c
@@ -516,7 +516,7 @@ png_chunk_report(png_const_structrp png_ptr, png_const_charp message, int error)
/* This is always supported, but for just read or just write it
* unconditionally does the right thing.
*/
-# if (defined PNG_READ_SUPPORTED) && (defined PNG_WRITE_SUPPORTED)
+# if defined(PNG_READ_SUPPORTED) && defined(PNG_WRITE_SUPPORTED)
if (png_ptr->mode & PNG_IS_READ_STRUCT)
# endif
@@ -530,7 +530,7 @@ png_chunk_report(png_const_structrp png_ptr, png_const_charp message, int error)
}
# endif
-# if (defined PNG_READ_SUPPORTED) && (defined PNG_WRITE_SUPPORTED)
+# if defined(PNG_READ_SUPPORTED) && defined(PNG_WRITE_SUPPORTED)
else if (!(png_ptr->mode & PNG_IS_READ_STRUCT))
# endif