diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2016-07-13 16:26:00 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2016-07-13 16:26:00 -0500 |
commit | 7a18a2de59caa16fd1e1ec035ffc41595a11d89d (patch) | |
tree | 44e0c0d0503acd9b5d17aed3b3d9910f6d17181f /example.c | |
parent | 5d7c7d51326fda504aa7f8afe8ed155c13b55a48 (diff) | |
download | libpng-7a18a2de59caa16fd1e1ec035ffc41595a11d89d.tar.gz |
[libpng16] Undo bad indentation change in example.c
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,8 +2,8 @@ #if 0 /* in case someone actually tries to compile this */ /* example.c - an example of using libpng - * Last changed in libpng 1.6.15 [November 20, 2014] - * Maintained 1998-2014 Glenn Randers-Pehrson + * Last changed in libpng 1.6.24 [(PENDING RELEASE)] + * Maintained 1998-2016 Glenn Randers-Pehrson * Maintained 1996, 1997 Andreas Dilger) * Written 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * To the extent possible under law, the authors have waived @@ -383,12 +383,12 @@ void read_png(FILE *fp, int sig_read) /* File is already open */ /* Strip alpha bytes from the input data without combining with the * background (not recommended). */ - png_set_strip_alpha(png_ptr); + png_set_strip_alpha(png_ptr); /* Extract multiple pixels with bit depths of 1, 2, and 4 from a single * byte into separate bytes (useful for paletted and grayscale images). */ - png_set_packing(png_ptr); + png_set_packing(png_ptr); /* Change the order of packed pixels to least significant bit first * (not useful if you are using png_set_packing). */ @@ -530,7 +530,7 @@ void read_png(FILE *fp, int sig_read) /* File is already open */ * see the png_read_row() method below: */ number_passes = png_set_interlace_handling(png_ptr); -#else +#else /* !READ_INTERLACING */ number_passes = 1; #endif /* READ_INTERLACING */ |