Annotation of /trunk/nxnode/patches/nxcomp-3.5.0-libpng15.patch
Parent Directory | Revision Log
Revision 1369 -
(hide annotations)
(download)
Tue Jun 28 14:53:50 2011 UTC (13 years, 3 months ago) by niro
File size: 795 byte(s)
Tue Jun 28 14:53:50 2011 UTC (13 years, 3 months ago) by niro
File size: 795 byte(s)
ncxomp libpng-1.5 patch
1 | niro | 1369 | --- nxcomp/Pgn.cpp 2010-03-01 18:18:59.000000000 +0100 |
2 | +++ nxcomp-magellan/Pgn.cpp 2011-06-28 18:50:36.000000000 +0200 | ||
3 | @@ -414,7 +414,7 @@ | ||
4 | |||
5 | png_read_info(pngPtr, infoPtr); | ||
6 | |||
7 | - if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) | ||
8 | + if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE) | ||
9 | { | ||
10 | png_set_expand(pngPtr); | ||
11 | } | ||
12 | @@ -565,7 +565,7 @@ | ||
13 | |||
14 | png_read_info( pngPtr, infoPtr ) ; | ||
15 | |||
16 | - if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) | ||
17 | + if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE) | ||
18 | { | ||
19 | png_set_expand(pngPtr); | ||
20 | } | ||
21 | @@ -709,7 +709,7 @@ | ||
22 | png_read_info(pngPtr, infoPtr) ; | ||
23 | |||
24 | |||
25 | - if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE) | ||
26 | + if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE) | ||
27 | { | ||
28 | png_set_expand(pngPtr); | ||
29 | } |