From db7feaf9883bb0dc419593588036405ef12ebca1 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 28 Mar 2013 08:58:35 +0100 Subject: Revert "release 3.5.0.19" This reverts commit e77bf36d9afbc7e56522574b06217d57c11dd095. --- nxcomp/Pgn.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nxcomp/Pgn.cpp') diff --git a/nxcomp/Pgn.cpp b/nxcomp/Pgn.cpp index af26724ef..a68373441 100644 --- a/nxcomp/Pgn.cpp +++ b/nxcomp/Pgn.cpp @@ -414,7 +414,7 @@ int DecompressPng16(unsigned char *compressedData, int compressedLen, png_read_info(pngPtr, infoPtr); - if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE) + if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) { png_set_expand(pngPtr); } @@ -565,7 +565,7 @@ int DecompressPng24(unsigned char *compressedData, int compressedLen, png_read_info( pngPtr, infoPtr ) ; - if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE) + if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) { png_set_expand(pngPtr); } @@ -709,7 +709,7 @@ int DecompressPng32(unsigned char *compressedData, int compressedLen, png_read_info(pngPtr, infoPtr) ; - if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE) + if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) { png_set_expand(pngPtr); } -- cgit v1.2.3