summaryrefslogtreecommitdiff
path: root/pngwrite.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-08-13 20:57:18 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-08-13 20:57:18 -0500
commit8b83ff37049cf836f46b465005bb064d76d1876b (patch)
tree180550a757d4af87a58612f314bf4ae444352bc2 /pngwrite.c
parenta47285829767b4ed1df9dd26c1a6630718a3f534 (diff)
downloadlibpng-8b83ff37049cf836f46b465005bb064d76d1876b.tar.gz
[libpng16] Change "n bit" to "n-bit" in comments.
Diffstat (limited to 'pngwrite.c')
-rw-r--r--pngwrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pngwrite.c b/pngwrite.c
index 3c8cbbe5e..2da3f01f3 100644
--- a/pngwrite.c
+++ b/pngwrite.c
@@ -1422,7 +1422,7 @@ png_write_png(png_structrp png_ptr, png_inforp info_ptr,
png_app_error(png_ptr, "PNG_TRANSFORM_SWAP_ENDIAN not supported");
#endif
- /* Swap bits of 1, 2, 4 bit packed pixel formats */
+ /* Swap bits of 1-bit, 2-bit, 4-bit packed pixel formats */
if ((transforms & PNG_TRANSFORM_PACKSWAP) != 0)
#ifdef PNG_WRITE_PACKSWAP_SUPPORTED
png_set_packswap(png_ptr);
@@ -1998,7 +1998,7 @@ png_image_write_main(png_voidp argument)
/* Now set up the data transformations (*after* the header is written),
* remove the handled transformations from the 'format' flags for checking.
*
- * First check for a little endian system if writing 16 bit files.
+ * First check for a little endian system if writing 16-bit files.
*/
if (write_16bit != 0)
{