summaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>1999-10-23 08:39:18 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-04-06 16:04:43 -0500
commit6d8f3b080a5fdc366e77472df5fd255f16cfd736 (patch)
treeaa8e3bffef636ad4b2bc121a620518393ce7a5be /example.c
parent860ab2b1c02759c61efb5d63d2b07bd0d484a4c4 (diff)
downloadlibpng-6d8f3b080a5fdc366e77472df5fd255f16cfd736.tar.gz
Imported from libpng-1.0.5a.tarv1.0.5a
Diffstat (limited to 'example.c')
-rw-r--r--example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.c b/example.c
index b78f78737..d60ff2a74 100644
--- a/example.c
+++ b/example.c
@@ -227,7 +227,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
int intent;
if (png_get_sRGB(png_ptr, info_ptr, &intent))
- png_set_sRGB(png_ptr, intent, 0);
+ png_set_sRGB(png_ptr, info_ptr, intent);
else
{
double image_gamma;