X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2FPNG.java;h=20979a9ad634ba03fc3a4e08771520808d535924;hb=b032d1c2f1aacd938b4a823bd400937f8fee0e42;hp=801a3f2f36acf1062f8dac37469a5c9f5e93a1aa;hpb=c55a2217bcedf009ad6db9cbaddbcc28b6bda06d;p=org.ibex.core.git diff --git a/src/org/xwt/PNG.java b/src/org/xwt/PNG.java index 801a3f2..20979a9 100644 --- a/src/org/xwt/PNG.java +++ b/src/org/xwt/PNG.java @@ -54,7 +54,7 @@ public class PNG implements ImageDecoder { // consume the header if ((inputStream.read() != 137) || (inputStream.read() != 80) || (inputStream.read() != 78) || (inputStream.read() != 71) || (inputStream.read() != 13) || (inputStream.read() != 10) || (inputStream.read() != 26) || (inputStream.read() != 10)) { - System.out.println("PNG: error: input file " + name + " is not a PNG file"); + Log.log(this, "PNG: error: input file " + name + " is not a PNG file"); data = new int[] { }; width = height = 0; return;