mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Fixed inconsistencies in png.h and pnglibconf.dfa
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
88c5a2a068
commit
6db8e4dd11
4
pngget.c
4
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 */
|
||||
|
||||
Reference in New Issue
Block a user