mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Fixed some misleading indentation (Krishnaraj Bhat).
This commit is contained in:
6
pngget.c
6
pngget.c
@@ -1140,6 +1140,7 @@ png_get_user_chunk_ptr(png_const_structrp png_ptr)
|
||||
{
|
||||
if (png_ptr)
|
||||
return png_ptr->user_chunk_ptr;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
@@ -1151,9 +1152,10 @@ png_get_compression_buffer_size(png_const_structrp png_ptr)
|
||||
return 0;
|
||||
|
||||
# if defined(PNG_SEQUENTIAL_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
||||
return png_ptr->IDAT_size;
|
||||
return png_ptr->IDAT_size;
|
||||
|
||||
# else
|
||||
return PNG_IDAT_READ_SIZE; /* progressive reader */
|
||||
return PNG_IDAT_READ_SIZE; /* progressive reader */
|
||||
# endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user