From 0441ff62e7d598130842d8eb4a659d5069641f52 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Fri, 4 Oct 2013 19:28:48 -0500 Subject: [PATCH] [libpng16] Remove spurious "#ifdef PNG_sRGB_SUPPORTED" from pngrutil.c --- pngrutil.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/pngrutil.c b/pngrutil.c index 54c5b3920..e675dad27 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -1287,9 +1287,7 @@ png_handle_sRGB(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length) return; } -#ifdef PNG_sRGB_SUPPORTED (void)png_colorspace_set_sRGB(png_ptr, &png_ptr->colorspace, intent); -#endif png_colorspace_sync(png_ptr, info_ptr); } #endif /* PNG_READ_sRGB_SUPPORTED */