From 5a3cc19d1864c3b808c82ebfa330176c2bdd52cc Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 06:51:23 +0000 Subject: [PATCH] 2003/02/12 06:37:16 darcs-hash:20040130065123-2ba56-25e104ef23e48f2c2feb234a9447893873507c60.gz --- CHANGES | 2 ++ src/org/xwt/PNG.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 3583180..7431d53 100644 --- a/CHANGES +++ b/CHANGES @@ -466,3 +466,5 @@ 11-Feb megacz TinySSL.java: changed System.out.println to Log.log +11-Feb megacz PNG.java: changed System.out.println to Log.log + 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; -- 1.7.10.4