From ad9982f6770383f8c7017af2bd18dffe375dbcb7 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Thu, 26 Dec 2013 14:49:07 -0600 Subject: [PATCH] [libpng15] Fix typo in pngrtran.c --- pngrtran.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pngrtran.c b/pngrtran.c index faef75253..03c8b87fc 100644 --- a/pngrtran.c +++ b/pngrtran.c @@ -1113,7 +1113,7 @@ png_init_palette_transformations(png_structp png_ptr) if (!input_has_alpha) { /* Any alpha means background and associative alpha processing is - * required, however if the alpha is 0 or 1 throughout OPTIIMIZE_ALPHA + * required, however if the alpha is 0 or 1 throughout OPTIMIZE_ALPHA * and ENCODE_ALPHA are irrelevant. */ png_ptr->transformations &= ~PNG_ENCODE_ALPHA; @@ -1178,7 +1178,7 @@ png_init_rgb_transformations(png_structp png_ptr) if (!input_has_alpha) { /* Any alpha means background and associative alpha processing is - * required, however if the alpha is 0 or 1 throughout OPTIIMIZE_ALPHA + * required, however if the alpha is 0 or 1 throughout OPTIMIZE_ALPHA * and ENCODE_ALPHA are irrelevant. */ # ifdef PNG_READ_ALPHA_MODE_SUPPORTED