mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
The implementations of png_app_error and png_app_warning were swapped. The non-release behavior of using PNG_ERROR on both doesn't work in practice because there are some cases where the warnings are very mild (specifically the one about writing an iCCP chunk when sRGB could be used.) png_app_warning now does PNG_WARN by default in all cases. Signed-off-by: John Bowler <jbowler@acm.org>
34 KiB
34 KiB