aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancesco Potortì <[email protected]>2002-12-06 17:05:15 +0000
committerFrancesco Potortì <[email protected]>2002-12-06 17:05:15 +0000
commitbfa261c0599be9758f0941c61e91a39b61b06ab9 (patch)
tree076dc48b5445a18be7bb475d14557e81fec0cd2b /src
parent7273d1004b57e012db9cfd80ea648b5bd796002d (diff)
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xfns.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8967f6eb93..8200c75aa9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-06 Francesco Potorti` <[email protected]>
+
+ * xfns.c (png_load): Avoid double gamma correction for PNG
+ images.
+
2002-12-04 Richard M. Stallman <[email protected]>
* sysdep.c (fcntl.h): Test only HAVE_FCNTL_H.
diff --git a/src/xfns.c b/src/xfns.c
index 34b34f81da..6132a1dab7 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -9003,7 +9003,7 @@ png_load (f, img)
screen_gamma = (f->gamma ? 1 / f->gamma / 0.45455 : 2.2);
-#if 0 /* avoid double gamma correction for PNG images */
+#if 0 /* Avoid double gamma correction for PNG images. */
/* Tell the PNG lib to handle gamma correction for us. */
#if defined(PNG_READ_sRGB_SUPPORTED) || defined(PNG_WRITE_sRGB_SUPPORTED)
if (png_get_sRGB (png_ptr, info_ptr, &intent))