X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c0d9ce3285864062f74951871971fec1debeafb..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/png/pngtest.c diff --git a/src/png/pngtest.c b/src/png/pngtest.c index d38c6972f6..c52aef3e6b 100644 --- a/src/png/pngtest.c +++ b/src/png/pngtest.c @@ -1163,6 +1163,10 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname) if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) { pngtest_debug1("Handling %d iTXt/tEXt/zTXt chunks", num_text); + + if (verbose) + printf("\nText compression=%d\n", text_ptr->compression); + png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); } } @@ -1813,4 +1817,4 @@ main(int argc, char *argv[]) } /* Generate a compiler error if there is an old png.h in the search path. */ -typedef png_libpng_version_1_5_6 Your_png_h_is_not_version_1_5_6; +typedef png_libpng_version_1_5_7 Your_png_h_is_not_version_1_5_7;