Suppress libpng errors.

This commit is contained in:
Lymia Aluysia
2017-01-18 09:14:17 -06:00
parent 1d912a6853
commit 76cf6fc0d6
9 changed files with 52 additions and 18 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ void ImageValueViewer::draw(RotatedDC& dc) {
if (!value().filename.empty()) {
try {
InputStreamP image_file = getLocalPackage().openIn(value().filename);
if (image.LoadFile(*image_file)) {
if (image_load_file(image, *image_file)) {
image.Rescale(w, h);
}
} CATCH_ALL_ERRORS(false);