From 893121e047335a0ce5a911ab838c688f60c15436 Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 06:50:23 +0000 Subject: [PATCH] 2002/08/28 23:02:43 darcs-hash:20040130065023-2ba56-c19e27f41ea2ec40e179e568923d82a3984e670c.gz --- src/org/xwt/Box.java | 1 - src/org/xwt/Main.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/org/xwt/Box.java b/src/org/xwt/Box.java index c0891f5..d380b45 100644 --- a/src/org/xwt/Box.java +++ b/src/org/xwt/Box.java @@ -414,7 +414,6 @@ public final class Box extends JSObject { /** loads the image described by string str, possibly blocking for a network load */ static ImageDecoder getImage(String str, final Function callback) { - ImageDecoder ret = null; boolean ispng = false; if (str.indexOf(':') == -1) { diff --git a/src/org/xwt/Main.java b/src/org/xwt/Main.java index 3fe68af..a94ca81 100644 --- a/src/org/xwt/Main.java +++ b/src/org/xwt/Main.java @@ -113,7 +113,7 @@ public class Main extends Applet { if (Log.on) Log.log(Main.class, "instantiating " + initialTemplate); final String initialTemplate_f = initialTemplate; ThreadMessage.newthread(new JSObject.JSFunction() { - public Object call(Context cx, Scriptable thisObj, Scriptable ctorObj, Object[] args) throws JavaScriptException { + public Object call(Context cx, Scriptable thisObj, Scriptable ctorObj, Object[] arg) throws JavaScriptException { new Box(initialTemplate_f, null); return null; } -- 1.7.10.4