summaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2011-06-17 20:04:17 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2011-06-17 20:41:19 -0500
commitab63dd08924d879adc05ef84edbef89ae699de99 (patch)
tree97b39f2809bd466d09161b84c6213be8fd4aef79 /example.c
parenta7428d443c5a77c195ad7d447cd610c5e8f5b9f4 (diff)
downloadlibpng-ab63dd08924d879adc05ef84edbef89ae699de99.tar.gz
[devel] Renamed png_set_chop_16() to png_set_strip_16().
Diffstat (limited to 'example.c')
-rw-r--r--example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example.c b/example.c
index 142213432..74cc3bc2f 100644
--- a/example.c
+++ b/example.c
@@ -192,9 +192,9 @@ void read_png(FILE *fp, unsigned int sig_read) /* File is already open */
* low byte.
*/
#ifdef PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
- png_set_strip_16(png_ptr);
+ png_set_scale_16(png_ptr);
#else
- png_set_chop_16(png_ptr);
+ png_set_strip_16(png_ptr);
#endif
/* Strip alpha bytes from the input data without combining with the