summaryrefslogtreecommitdiff
path: root/pngget.c
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2013-02-10 17:49:25 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-02-10 17:49:25 -0600
commit6db8e4dd11f4e496f41c70a3acca8a3fe1308bdc (patch)
tree47e12f136e4df4e752996dd9bcb96cd01711f3cf /pngget.c
parent88c5a2a068171684eb27d53770f3cd2361b19556 (diff)
[libpng16] Fixed inconsistencies in png.h and pnglibconf.dfa
Diffstat (limited to 'pngget.c')
-rw-r--r--pngget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pngget.c b/pngget.c
index b93ed43ea..dfecce785 100644
--- a/pngget.c
+++ b/pngget.c
@@ -1162,7 +1162,7 @@ png_get_io_chunk_type (png_const_structrp png_ptr)
#endif /* ?PNG_IO_STATE_SUPPORTED */
#ifdef PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED
-#ifdef PNG_GET_PALETTE_MAX_SUPPORTED
+# ifdef PNG_GET_PALETTE_MAX_SUPPORTED
int PNGAPI
png_get_palette_max(png_const_structp png_ptr, png_const_infop info_ptr)
{
@@ -1171,7 +1171,7 @@ png_get_palette_max(png_const_structp png_ptr, png_const_infop info_ptr)
return (-1);
}
-#endif
+# endif
#endif
#endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */