summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>1999-09-18 15:49:20 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-04-06 16:04:34 -0500
commit352ca6bee034039e47d8acedc08160eb4f08c0e5 (patch)
treeff977d99de841cc19714a194395637c0848fff85
parentf8b008cd4376f90fe9c9d1eaf2134898d25f5e89 (diff)
downloadlibpng-352ca6bee034039e47d8acedc08160eb4f08c0e5.tar.gz
Imported from libpng-1.0.4-pre3.tarv1.0.4-pre3
-rw-r--r--libpngpf.34
-rw-r--r--pngrtran.c6
-rw-r--r--pngtrans.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/libpngpf.3 b/libpngpf.3
index f3eac6759..81a4dd6dd 100644
--- a/libpngpf.3
+++ b/libpngpf.3
@@ -1,6 +1,6 @@
-.TH LIBPNGPF 3 "January 14, 1999"
+.TH LIBPNGPF 3 "September 18, 1999"
.SH NAME
-libpng \- Portable Network Graphics (PNG) Reference Library 1.0.3 - January 14, 1999
+libpng \- Portable Network Graphics (PNG) Reference Library 1.0.4 - September 18, 1999
(private functions)
.SH SYNOPSIS
\fB#include <png.h>\fP
diff --git a/pngrtran.c b/pngrtran.c
index f86d83c91..8601442cc 100644
--- a/pngrtran.c
+++ b/pngrtran.c
@@ -522,7 +522,7 @@ png_set_gamma(png_structp png_ptr, double scrn_gamma, double file_gamma)
#endif
#if defined(PNG_READ_EXPAND_SUPPORTED)
-/* Expand paletted images to rgb, expand grayscale images of
+/* Expand paletted images to RGB, expand grayscale images of
* less than 8-bit depth to 8-bit depth, and expand tRNS chunks
* to alpha channels.
*/
@@ -3142,7 +3142,7 @@ png_do_background(png_row_infop row_info, png_bytep row,
#if defined(PNG_READ_GAMMA_SUPPORTED)
/* Gamma correct the image, avoiding the alpha channel. Make sure
* you do this after you deal with the transparency issue on grayscale
- * or rgb images. If your bit depth is 8, use gamma_table, if it
+ * or RGB images. If your bit depth is 8, use gamma_table, if it
* is 16, use gamma_16_table and gamma_shift. Build these with
* build_gamma_table().
*/
@@ -3324,7 +3324,7 @@ png_do_gamma(png_row_infop row_info, png_bytep row,
#endif
#if defined(PNG_READ_EXPAND_SUPPORTED)
-/* Expands a palette row to an rgb or rgba row depending
+/* Expands a palette row to an RGB or RGBA row depending
* upon whether you supply trans and num_trans.
*/
void
diff --git a/pngtrans.c b/pngtrans.c
index e5d8770f0..8ecdb3bb7 100644
--- a/pngtrans.c
+++ b/pngtrans.c
@@ -12,7 +12,7 @@
#include "png.h"
#if defined(PNG_READ_BGR_SUPPORTED) || defined(PNG_WRITE_BGR_SUPPORTED)
-/* turn on bgr to rgb mapping */
+/* turn on BGR-to-RGB mapping */
void
png_set_bgr(png_structp png_ptr)
{