summaryrefslogtreecommitdiffstats
path: root/graphics/enblend/files/patch-png.cxx
blob: 2a513b548c54b0ed9e10380dc4c06d8014ef90b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/vigra_impex/png.cxx.orig	2007-11-25 00:46:55.000000000 +0100
+++ src/vigra_impex/png.cxx	2010-03-29 11:49:42.000000000 +0200
@@ -276,7 +276,7 @@
         if ( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 ) {
             if (setjmp(png->jmpbuf))
                 vigra_postcondition( false,png_error_message.insert(0, "error in png_set_gray_1_2_4_to_8(): ").c_str());
-            png_set_gray_1_2_4_to_8(png);
+            png_set_expand_gray_1_2_4_to_8(png);
             bit_depth = 8;
         }
 
OpenPOWER on IntegriCloud