summaryrefslogtreecommitdiff
path: root/pngrtran.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2010-08-18 20:25:36 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2010-08-18 20:25:36 -0500
commita31375125839df75f9fefaf22e4f643005536b70 (patch)
treeb891fa09cb25dab71cc52861ca508e698be62765 /pngrtran.c
parent11966d9c55828ba83ad6e3b995af07f0e918671b (diff)
downloadlibpng-a31375125839df75f9fefaf22e4f643005536b70.tar.gz
[devel] Removed spurious tabs, shorten long lines (no source change)
Also added scripts/chkfmt to validate the format of all the files that can reasonably be validated (it is suggested to run "make distclean" before checking, because some machine generated files have long lines.) Reformatted the CHANGES file to be more consistent throughout.
Diffstat (limited to 'pngrtran.c')
-rw-r--r--pngrtran.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pngrtran.c b/pngrtran.c
index 7540da2f8..00724e9f1 100644
--- a/pngrtran.c
+++ b/pngrtran.c
@@ -1023,7 +1023,8 @@ png_init_read_transformations(png_structp png_ptr)
}
for (i = 0; i < num_palette; i++)
{
- if (i < (int)png_ptr->num_trans && png_ptr->trans_alpha[i] != 0xff)
+ if (i < (int)png_ptr->num_trans &&
+ png_ptr->trans_alpha[i] != 0xff)
{
if (png_ptr->trans_alpha[i] == 0)
{