diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-10-29 23:33:46 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-10-29 23:33:46 -0500 |
commit | dfa99afe403488f61543efcc1035e9406c451d69 (patch) | |
tree | c2710495aa681f7dfe5b71e20c1fc26e9b78a8f6 /pngwutil.c | |
parent | c1a4d64a7b430cca66496820371b3321c2c10a23 (diff) | |
download | libpng-dfa99afe403488f61543efcc1035e9406c451d69.tar.gz |
[devel] Fixed some indentation
in pngwutil.c
Diffstat (limited to 'pngwutil.c')
-rw-r--r-- | pngwutil.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pngwutil.c b/pngwutil.c index 37d60b587..7d78a7a2b 100644 --- a/pngwutil.c +++ b/pngwutil.c @@ -1752,28 +1752,28 @@ png_write_start_row(png_structp png_ptr) /* We only need to keep the previous row if we are using one of these. */ if (png_ptr->do_filter & (PNG_FILTER_AVG | PNG_FILTER_UP | PNG_FILTER_PAETH)) { - /* Set up previous row buffer */ - png_ptr->prev_row = (png_bytep)png_calloc(png_ptr, - (png_alloc_size_t)buf_size); + /* Set up previous row buffer */ + png_ptr->prev_row = (png_bytep)png_calloc(png_ptr, + (png_alloc_size_t)buf_size); if (png_ptr->do_filter & PNG_FILTER_UP) { png_ptr->up_row = (png_bytep)png_malloc(png_ptr, - (png_size_t)(png_ptr->rowbytes + 1)); + (png_size_t)(png_ptr->rowbytes + 1)); png_ptr->up_row[0] = PNG_FILTER_VALUE_UP; } if (png_ptr->do_filter & PNG_FILTER_AVG) { png_ptr->avg_row = (png_bytep)png_malloc(png_ptr, - (png_alloc_size_t)(png_ptr->rowbytes + 1)); + (png_alloc_size_t)(png_ptr->rowbytes + 1)); png_ptr->avg_row[0] = PNG_FILTER_VALUE_AVG; } if (png_ptr->do_filter & PNG_FILTER_PAETH) { png_ptr->paeth_row = (png_bytep)png_malloc(png_ptr, - (png_size_t)(png_ptr->rowbytes + 1)); + (png_size_t)(png_ptr->rowbytes + 1)); png_ptr->paeth_row[0] = PNG_FILTER_VALUE_PAETH; } } |